# HG changeset patch # User tuomov # Date 1049313914 -7200 # Node ID f66f0f27beae1843ee6932b25b1439f1236c59bd # Parent 672e29bfda3c3cc042ffcc0a75f32a618647de26 trunk: changeset 52 Makefile changes diff -r 672e29bfda3c -r f66f0f27beae Makefile --- a/Makefile Tue Mar 11 20:01:42 2003 +0100 +++ b/Makefile Wed Apr 02 22:05:14 2003 +0200 @@ -3,7 +3,7 @@ ## # System-specific configuration is in system.mk -TOPDIR=. +TOPDIR=../ion include system-inc.mk ###################################### @@ -11,13 +11,13 @@ INCLUDES += -I./include CFLAGS += $(POSIX_SOURCE) -OBJS= misc.o output.o util.o optparser.o parser.o tokenizer.o map.o +SOURCES=misc.c output.c util.c optparser.c parser.c tokenizer.c map.c ifdef LIBTU_NO_ERRMSG DEFINES += -DLIBTU_NO_ERRMSG else ifndef HAS_SYSTEM_ASPRINTF -OBJS += snprintf_2.2/snprintf.o +SOURCES += snprintf_2.2/snprintf.c else DEFINES += -DHAS_SYSTEM_ASPRINTF endif @@ -28,7 +28,7 @@ ###################################### -include rules.mk +include $(TOPDIR)/rules.mk ######################################