Makefile

changeset 60
a4033700e35c
parent 58
789df543d0c3
child 65
58e382ae97cd
--- a/Makefile	Mon Feb 16 00:55:23 2004 +0100
+++ b/Makefile	Mon Feb 16 18:04:44 2004 +0100
@@ -11,7 +11,8 @@
 INCLUDES += -I./include
 CFLAGS += $(C89_SOURCE) $(POSIX_SOURCE) 
 
-SOURCES=misc.c output.c util.c optparser.c parser.c tokenizer.c map.c
+SOURCES=misc.c output.c util.c optparser.c parser.c tokenizer.c \
+        map.c obj.c objlist.c errorlog.c symlist.c
 
 ifdef LIBTU_NO_ERRMSG
 DEFINES += -DLIBTU_NO_ERRMSG
@@ -25,8 +26,6 @@
 
 TARGETS=libtu.a
 TESTERS=tester tester2 tester3
-HEADERS=dlist.h misc.h output.h tokenizer.h util.h \
-        map.h np-conv.h optparser.h parser.h types.h
 
 ######################################
 
@@ -53,6 +52,6 @@
 	$(INSTALLDIR) $(LIBDIR)
 	$(INSTALLDIR) $(INCDIR)/libtu
 	$(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR)
-	for i in $(HEADERS); do \
+	for i in *.h; do \
 		$(INSTALL) -m $(DATA_MODE) $$i $(INCDIR)/libtu; \
 	done

mercurial