mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make: Change prerequisites somewhat
Some changes in the prerequisites: - Build on MODDIR, not TOPDIR - Doneclean now also removes .done of prerequisites
This commit is contained in:
parent
61fe4a73d5
commit
795f2e245d
2 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ LOCAL_C = $(wildcard *.c)
|
|||
LOCAL_CPP = $(wildcard *.c *.cpp *.cc *.C)
|
||||
LOCAL_CSRC = $(LOCAL_H) $(LOCAL_C) $(LOCAL_CPP)
|
||||
|
||||
PREREQ_DIR = $(patsubst %,$(TOPDIR)/%,$(LOCAL_PREREQ))
|
||||
PREREQ_DIR = $(patsubst %,$(MODDIR)/%,$(LOCAL_PREREQ))
|
||||
PREREQ_DONE = $(patsubst %,%/all.done,$(PREREQ_DIR))
|
||||
PREREQ_H = $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.h))
|
||||
PREREQ_C = $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.c))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue