mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
24 lines
403 B
Makefile
24 lines
403 B
Makefile
DEPEND_CFLAGS += -D__MAKEDEPEND__
|
|
DEPEND_CPPFLAGS += -D__MAKEDEPEND__
|
|
|
|
DEPEND_MK = $(addprefix .,$(addsuffix .dep.mk, $(OBJ)))
|
|
|
|
all:
|
|
|
|
ifneq ($(DEPEND_MK),)
|
|
ifeq ($(MAKECMDGOALS),)
|
|
-include $(DEPEND_MK)
|
|
endif
|
|
ifneq ($(filter all,$(MAKECMDGOALS)),)
|
|
-include $(DEPEND_MK)
|
|
endif
|
|
endif
|
|
|
|
clean: depclean my_depclean
|
|
|
|
$(DEPEND_MK): $(PREREQ_DONE)
|
|
my_depclean:
|
|
rm -f .*.dep.mk
|
|
|
|
%.o: .%.o.dep.mk
|
|
|