X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=da90da29c31fe5f0da4090c02f99d11f8d8b4473;hb=7f3907fc231ea6764ad0738df37a483fc007dd2e;hp=f1cf050c62ff1d00617bffa926eee7a253e9a552;hpb=44db4763a69211be0afa0b336adbb16a0b10f2cb;p=pdclib diff --git a/Makefile b/Makefile index f1cf050..da90da2 100644 --- 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