]> pd.if.org Git - pdclib/blobdiff - Makefile
Intermediate work while migrating CVS -> SVN.
[pdclib] / Makefile
index 9bfc7615c78ffeae0d8ba5965f4f8b48c4bf13a9..9aa1c89eb3128824eaa3746c540ff256fbc89ec3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ AUXFILES := Makefile Readme.txt
 PROJDIRS := functions includes internals
 SRCFILES := $(shell find $(PROJDIRS) -mindepth 1 -maxdepth 3 -name "*.c")
 HDRFILES := $(shell find $(PROJDIRS) -mindepth 1 -maxdepth 3 -name "*.h")
-INTFILES := atomax digits lengthmods seed strtox_main strtox_prelim rename remove _Exit
+INTFILES := _Exit atomax digits lengthmods print rename remove seed strtox_main strtox_prelim
 OBJFILES := $(patsubst %.c,%.o,$(SRCFILES))
 TSTFILES := $(patsubst %.c,%.t,$(SRCFILES))
 REGFILES := $(filter-out $(patsubst %,functions/_PDCLIB/%.r,$(INTFILES)),$(patsubst %.c,%.r,$(SRCFILES)))
@@ -46,6 +46,9 @@ todolist:
 fixmelist:
        -@for file in $(ALLFILES); do grep -H FIXME $$file; done; true
 
+find:
+       @find functions/ includes/ internals/ platform/ -name "*\.[ch]" -type f | xargs grep $$FIND
+
 %.o: %.c Makefile
        @echo " CC      $@"
        @$(CC) $(CFLAGS) -Wall -DNDEBUG -MMD -MP -MT "$*.d $*.t" -g -std=c99 -I./includes -I./internals -c $< -o $@