Makefile

changeset 48
f66f0f27beae
parent 44
71d5a2dee8dc
child 50
855953c2f413
--- 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
 
 ######################################
 

mercurial