X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=0acd1cc6132e91de48c5445930759832302f499b;hb=3956a4f15134f471663136d51626523ccff4e9ba;hp=9894792dc3b028a35a74b0e50cc4c738254a9e67;hpb=7970b896e54cf2c79489154f59b7fd291bcd16cb;p=fw%2Fpdclib diff --git a/Makefile b/Makefile index 9894792..0acd1cc 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ PATCHFILES2 := $(shell ls platform/$(PLATFORM)/functions/stdlib/*.c) PATCHFILES3 := $(shell ls platform/$(PLATFORM)/functions/stdio/*.c) WARNINGS := -Wall -Wextra -pedantic -Wno-unused-parameter -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -fno-builtin -CFLAGS := -g -std=c99 -I./internals $(WARNINGS) $(USERFLAGS) +CFLAGS := -g -std=c99 -I./internals -I./testing $(WARNINGS) $(USERFLAGS) .PHONY: all clean srcdist bindist test tests testdrivers regtests regtestdrivers todos fixmes find links unlink help @@ -74,7 +74,7 @@ regtestdrivers: $(REGFILES) -include $(DEPFILES) clean: - @for file in $(OBJFILES) $(DEPFILES) $(TSTFILES) $(REGFILES) pdclib.a pdclib.tgz; do if [ -f $$file ]; then rm $$file; fi; done + @for file in $(OBJFILES) $(DEPFILES) $(TSTFILES) $(REGFILES) pdclib.a pdclib.tgz scanf_testdata_*; do if [ -f $$file ]; then rm $$file; fi; done srcdist: @tar czf pdclib.tgz $(ALLFILES)