X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=6748be49117d6479ec9f239b256b2c7eb5efdf7a;hb=60dae0fec674240bad2a6acc58dadbd81cbd9c3a;hp=3331fa51dac649988e8df5bc44009edd17e5d5ab;hpb=4de9ebf92ea3d057a9ce17841ff7939b1dfebc67;p=pdclib diff --git a/Makefile b/Makefile index 3331fa5..6748be4 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ SRCFILES := $(shell find $(PROJDIRS) -mindepth 1 -maxdepth 3 -name "*.c") # All header files of the project HDRFILES := $(shell find $(PROJDIRS) -mindepth 1 -maxdepth 3 -name "*.h") # All .c files in functions/_PDCLIB that do not have a regression test driver -INTFILES := _Exit atomax digits open print scan remove rename seed stdinit strtox_main strtox_prelim filemode eol errno seek prepread prepwrite allocpages tmpfilename +INTFILES := _Exit atomax digits open print scan remove rename seed stdinit strtox_main strtox_prelim filemode eol errno seek prepread prepwrite allocpages tmpfilename closeall # All object files in the library OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) # All test drivers (.t) @@ -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)