libamxp  1.4.0
Patterns C Implementation
makefile
Go to the documentation of this file.
1 include ../test_defines.mk
2 
3 TARGET = run_test
4 SOURCES += $(wildcard ./*.c)
5 OBJECTS = $(addprefix $(OBJDIR)/,$(notdir $(SOURCES:.c=.o))) \
6  $(OBJDIR)/../amxp_expr.tab.o \
7  $(OBJDIR)/../lex.amxp_expr.o
8 
9 WRAP_FUNC=-Wl,--wrap=
10 MOCK_WRAP = kill \
11  fopen \
12  getline \
13  amxc_var_init
14 
15 LDFLAGS += -g $(addprefix $(WRAP_FUNC),$(MOCK_WRAP))
16 
17 include ../test_targets.mk