1 cc5f4ee8 2020-09-20 stsp CFLAGS = -fsanitize=address -fsanitize=undefined -g -O3
2 2c12b171 2020-10-15 stsp CFLAGS += -Wstrict-prototypes -Wunused-variable -Wuninitialized
5 41d00e9f 2020-09-20 stsp LIB= ../lib/libdiff.a
7 18a9c7f8 2020-09-20 stsp # Compat sources
8 18a9c7f8 2020-09-20 stsp CFLAGS+= -I$(CURDIR)/../compat/include
10 41d00e9f 2020-09-20 stsp diff: $(SRCS) $(LIB)
11 cc5f4ee8 2020-09-20 stsp gcc $(CFLAGS) -I../include -o $@ $^
13 1dfba055 2020-10-07 stsp ../lib/libdiff.a: ../lib/*.[hc] ../include/*.h
14 cc5f4ee8 2020-09-20 stsp $(MAKE) -C ../lib
16 cc5f4ee8 2020-09-20 stsp .PHONY: clean
19 cc5f4ee8 2020-09-20 stsp $(MAKE) -C ../lib clean