]> pd.if.org Git - pdclib/blobdiff - Makefile
Reordered 'find' options to get rid of Cygwin warnings.
[pdclib] / Makefile
index 95006046f816053209d22bd0c22936baaeaf5398..571951d39bd62ad1643b8e2e0864ee85feffc366 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 # This is a list of all non-source files that are part of the distribution.
 AUXFILES := Makefile Readme.txt
 
-SRCFILES := $(shell find . -name "*.c" -mindepth 1 -maxdepth 3)
-HDRFILES := $(shell find . -name "*.h" -mindepth 1 -maxdepth 3)
+SRCFILES := $(shell find . -mindepth 1 -maxdepth 3 -name "*.c")
+HDRFILES := $(shell find . -mindepth 1 -maxdepth 3 -name "*.h")
 OBJFILES := $(patsubst %.c,%.o,$(SRCFILES))
 TSTFILES := $(patsubst %.c,%.t,$(SRCFILES))
 DEPFILES := $(patsubst %.c,%.d,$(SRCFILES))
@@ -25,7 +25,7 @@ dist:
        @tar czf pdclib.tgz $(ALLFILES)
 
 %.o: %.c Makefile
-       $(CC) -DNDEBUG -MMD -MP -MT "$*.d $*.t" -g -std=c99 -I./internals -c $< -o $@
+       @$(CC) -Wall -DNDEBUG -MMD -MP -MT "$*.d $*.t" -g -std=c99 -I./internals -c $< -o $@
 
 %.t: %.c Makefile
-       $(CC) -DTEST -std=c99 -I./internals/ $< -o $@
+       @$(CC) -Wall -DTEST -std=c99 -I./internals/ $< -o $@