Makefile

changeset 58
789df543d0c3
parent 57
de75d868bc0b
child 60
a4033700e35c
equal deleted inserted replaced
57:de75d868bc0b 58:789df543d0c3
23 endif 23 endif
24 endif 24 endif
25 25
26 TARGETS=libtu.a 26 TARGETS=libtu.a
27 TESTERS=tester tester2 tester3 27 TESTERS=tester tester2 tester3
28 HEADERS=dlist.h misc.h output.h tokenizer.h util.h \
29 map.h np-conv.h optparser.h parser.h types.h
28 30
29 ###################################### 31 ######################################
30 32
31 include $(TOPDIR)/rules.mk 33 include $(TOPDIR)/rules.mk
32 34
49 51
50 _install: 52 _install:
51 $(INSTALLDIR) $(LIBDIR) 53 $(INSTALLDIR) $(LIBDIR)
52 $(INSTALLDIR) $(INCDIR)/libtu 54 $(INSTALLDIR) $(INCDIR)/libtu
53 $(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR) 55 $(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR)
54 for i in include/libtu/*.h; do \ 56 for i in $(HEADERS); do \
55 $(INSTALL) -m $(DATA_MODE) $$i $(INCDIR)/libtu; \ 57 $(INSTALL) -m $(DATA_MODE) $$i $(INCDIR)/libtu; \
56 done 58 done

mercurial