X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=11e1cdc9c1e48e95a7649fbd22fa0d263ba9c62d;hb=19c7f6cf0ef00b923342872e415a920cab864b68;hp=41469adcf99b8f1c2fa9a0ec0bd939ab07ecc75f;hpb=06d605dc2bb5353fa46dfd340c724a67d3b75df3;p=pdclib diff --git a/Makefile b/Makefile index 41469ad..11e1cdc 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 print rename remove seed strtox_main strtox_prelim +INTFILES := _Exit atomax digits open print rename remove seed stdinit strtox_main strtox_prelim # All object files in the library OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) # All test drivers (.t) @@ -34,7 +34,7 @@ CFLAGS := -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings all: pdclib.a pdclib.a: $(OBJFILES) - @ar r pdclib.a $? + @ar rc pdclib.a $? test: $(FILE) $(FILE)