[fix] makefile: add listdir include
This commit is contained in:
1 parent
5bdb030587
commit
4b2b3a7e2b
1 file changed
+6
-4
@@ -27,20 +27,22 @@ PERMSRC_O=$(PERMDIR)/src/permutation_t/permutation_t.o
|
|||||||
#SRC=$(wildcard **/**/*.c)
|
#SRC=$(wildcard **/**/*.c)
|
||||||
#OBJ=$(SRC:.c=.o) #$(TOOLSRC_O)
|
#OBJ=$(SRC:.c=.o) #$(TOOLSRC_O)
|
||||||
|
|
||||||
|
OBJ=$(DIMSRC_O) $(PERMSRC_O)
|
||||||
|
|
||||||
TOPTARGETS := all clean
|
TOPTARGETS := all clean
|
||||||
DEP=$(PERMDIR)
|
DEP=$(PERMDIR) $(LISTDIR)
|
||||||
|
|
||||||
$(TOPTARGETS): $(DEP)
|
$(TOPTARGETS): $(DEP)
|
||||||
|
|
||||||
all: $(DIMSRC_O)
|
all: $(DIMSRC_O)
|
||||||
|
|
||||||
|
|
||||||
$(DIMSRC_O) : $(DIMSRC) $(PERMSRC_O)
|
|
||||||
$(CC) -o $@ -c $< $(CFLAGS)
|
|
||||||
|
|
||||||
$(DEP):
|
$(DEP):
|
||||||
$(MAKE) -C $@ $(MAKECMDGOALS)
|
$(MAKE) -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
|
$(DIMSRC_O) : $(DIMSRC) $(PERMSRC_O)
|
||||||
|
$(CC) -o $@ -c $< $(CFLAGS)
|
||||||
|
|
||||||
#$(TOOLSRC_O): $(TOOLSRC)
|
#$(TOOLSRC_O): $(TOOLSRC)
|
||||||
# $(CC) -o $@ -c $< $(CFLAGS)
|
# $(CC) -o $@ -c $< $(CFLAGS)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user