Tue, 25 Feb 2003 20:02:42 +0100
trunk: changeset 47
Added system-inc.mk and modified Makefile to use it
Makefile | file | annotate | diff | comparison | revisions | |
system-inc.mk | file | annotate | diff | comparison | revisions |
--- a/Makefile Mon Feb 17 23:24:47 2003 +0100 +++ b/Makefile Tue Feb 25 20:02:42 2003 +0100 @@ -3,7 +3,8 @@ ## # System-specific configuration is in system.mk -include system.mk +TOPDIR=. +include system-inc.mk ######################################
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/system-inc.mk Tue Feb 25 20:02:42 2003 +0100 @@ -0,0 +1,14 @@ +# Use acsystem.mk if it exist, system.mk otherwise. + +ifndef TOPDIR + TOPDIR=. +endif + +ifeq ($(TOPDIR)/acsystem.mk,$(wildcard $(TOPDIR)/acsystem.mk)) + # Using acsystem.mk + include $(TOPDIR)/acsystem.mk +else + # Not using acsystem.mk + include $(TOPDIR)/system.mk +endif +