c81739902b94d01fd48aee8064228149a7595443
[c11tester.git] / test / Makefile
1 include ../common.mk
2
3 CPPFLAGS += -I.. -I../include
4
5 SRCS = $(wildcard *.c)
6 OBJS = $(patsubst %.c,%.o,$(SRCS))
7
8 all: $(OBJS)
9
10 %.o: %.c
11         $(CC) -o $@ $< $(CPPFLAGS) -L.. -l$(LIB_NAME)
12
13 clean::
14         rm -f *.o