X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=da90da29c31fe5f0da4090c02f99d11f8d8b4473;hb=7f3907fc231ea6764ad0738df37a483fc007dd2e;hp=da30ee5d9150cad6943fdafdd0fe605bcab2e434;hpb=52170395fe98af533c3b44ffae13c66aeb1cdb99;p=pdclib diff --git a/Makefile b/Makefile index da30ee5..da90da2 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ REGDEPFILES := $(patsubst %,%.d,$(REGFILES)) # All files belonging to the source distribution ALLFILES := $(SRCFILES) $(HDRFILES) $(AUXFILES) -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 +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 -Wuninitialized -fno-builtin 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 @@ -54,7 +54,6 @@ pdclib.a: $(OBJFILES) @echo test: functions/$(FILE) - echo $(TSTDEPFILES) functions/$(FILE) tests: testdrivers @@ -69,7 +68,7 @@ regtests: regtestdrivers regtestdrivers: $(REGFILES) @echo -#-include $(DEPFILES) $(TSTDEPFILES) $(REGDEPFILES) +-include $(DEPFILES) $(TSTDEPFILES) $(REGDEPFILES) clean: @for file in $(OBJFILES) $(DEPFILES) $(TSTFILES) $(TSTDEPFILES) $(REGFILES) $(REGDEPFILES) pdclib.a pdclib.tgz scanf_testdata_*; do if [ -f $$file ]; then rm $$file; fi; done