# HG changeset patch # User tuomov # Date 1046199762 -3600 # Node ID 71d5a2dee8dc394c772bad7019aa2bba37c57d5d # Parent aad48c3d4966ec8302dafee81caf7f92996f24a0 trunk: changeset 47 Added system-inc.mk and modified Makefile to use it diff -r aad48c3d4966 -r 71d5a2dee8dc Makefile --- 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 ###################################### diff -r aad48c3d4966 -r 71d5a2dee8dc 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 +