X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=ed78f423f6a4e757d9f1d8c24822bb39c87d6a59;hb=f63c745c3dde325a2260f2f8b998e2b24bb6419e;hp=ab9e812f34cde897da9b109f3b30c5a5da0c8c50;hpb=e6fd9753e785702792a00236f86f257a22f5c794;p=pdclib diff --git a/Makefile b/Makefile index ab9e812..ed78f42 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,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 rename remove seed stdinit strtox_main strtox_prelim +INTFILES := _Exit atomax digits open print remove rename seed stdinit strtox_main strtox_prelim cleanstream fflush # All object files in the library OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) # All test drivers (.t) @@ -109,8 +109,8 @@ help: %.t: %.c Makefile pdclib.a @echo " CC $(patsubst functions/%,%,$@)" - @$(CC) $(CFLAGS) -DTEST -std=c99 -I./includes -I./internals $< pdclib.a -o $@ + @$(CC) $(CFLAGS) -DTEST -g -std=c99 -I./includes -I./internals $< pdclib.a -o $@ %.r: %.c Makefile @echo " CC $(patsubst functions/%,%,$@)" - @$(CC) $(CFLAGS) -DTEST -DREGTEST -std=c99 -I./internals $< -o $@ + @$(CC) $(CFLAGS) -Wno-format -DTEST -DREGTEST -g -std=c99 -I./internals $< -o $@