]> pd.if.org Git - pdclib/blobdiff - Makefile
It seems I have to review the list of warning options if I missed this one.
[pdclib] / Makefile
index f1cf050c62ff1d00617bffa926eee7a253e9a552..da90da29c31fe5f0da4090c02f99d11f8d8b4473 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # $Id$
 
 # This is where you chose which platform to compile for (see 'make links' / './platform')
-PLATFORM := example_cygwin
+PLATFORM := example
 
 # This is a list of all non-source files that are part of the distribution.
 AUXFILES := Makefile Readme.txt
@@ -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