mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make: Improvements to a couple of makefiles
- Depend.mk, ldlibpath.mk: add multiple inclusion guards - Flex-bison.mk some dependency fiddling - Py-defs.mk: remove *.pyc on clean Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
07bb4b7958
commit
2594143b1f
4 changed files with 40 additions and 14 deletions
|
|
@ -3,6 +3,7 @@ DEPEND_CFLAGS += -D__MAKEDEPEND__
|
|||
DEPEND_CPPFLAGS += -D__MAKEDEPEND__
|
||||
DEPEND_MK += $(addprefix .,$(addsuffix .dep.mk, $(OBJ)))
|
||||
|
||||
ifeq ($(DEPEND_MK_INCLUDED),)
|
||||
# mandatory target behaviour
|
||||
all:
|
||||
|
||||
|
|
@ -26,3 +27,5 @@ my_depclean:
|
|||
$(DEPEND_MK): $(PREREQ_DONE)
|
||||
%.o: .%.o.dep.mk
|
||||
|
||||
endif # DEPEND_MK_INCLUDED
|
||||
DEPEND_MK_INCLUDED := true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue