Makefile

changeset 30
f7c7b419577e
parent 29
a2715cff4288
child 34
828f3afd5c76
--- a/Makefile	Wed Dec 20 20:34:02 2000 +0100
+++ b/Makefile	Thu Dec 28 14:40:02 2000 +0100
@@ -22,9 +22,6 @@
 endif
 endif
 
-LIBDIR=$(PREFIX)/lib
-INCDIR=$(PREFIX)/include/libtu
-
 TARGETS=libtu.a
 TESTERS=tester tester2 tester3
 
@@ -51,8 +48,8 @@
 
 _install:
 	$(INSTALLDIR) $(LIBDIR)
-	$(INSTALLDIR) $(INCDIR)
+	$(INSTALLDIR) $(INCDIR)/libtu
 	$(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR)
 	for i in include/libtu/*.h; do \
-		$(INSTALL) -m $(DATA_MODE) $$i $(INCDIR); \
+		$(INSTALL) -m $(DATA_MODE) $$i $(INCDIR)/libtu; \
 	done

mercurial