Blob


1 CFLAGS = -fsanitize=address -fsanitize=undefined -g -O3
2 CFLAGS += -Wstrict-prototypes -Wunused-variable -Wuninitialized
4 SRCS= diff.c
5 LIB= ../lib/libdiff.a
7 # Compat sources
8 CFLAGS+= -I$(CURDIR)/../compat/include
10 diff: $(SRCS) $(LIB)
11 gcc $(CFLAGS) -I../include -o $@ $^
13 ../lib/libdiff.a: ../lib/*.[hc] ../include/*.h
14 $(MAKE) -C ../lib
16 .PHONY: clean
17 clean:
18 rm diff
19 $(MAKE) -C ../lib clean