Makefile

changeset 23
5f8005150227
parent 16
f597c8f0bcc9
child 25
9d41e3611050
equal deleted inserted replaced
22:79fb689317ea 23:5f8005150227
37 37
38 tester3: tester3.c libtu.a 38 tester3: tester3.c libtu.a
39 $(CC) $(CFLAGS) $< -L. -ltu -lm -o $@ 39 $(CC) $(CFLAGS) $< -L. -ltu -lm -o $@
40 40
41 _install: 41 _install:
42 $(INSTALL) -d $(LIBDIR) 42 $(INSTALLDIR) $(LIBDIR)
43 $(INSTALL) -d $(INCDIR) 43 $(INSTALLDIR) $(INCDIR)
44 $(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR) 44 $(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR)
45 for i in include/libtu/*.h; do \ 45 for i in include/libtu/*.h; do \
46 $(INSTALL) -m $(DATA_MODE) $$i $(INCDIR); \ 46 $(INSTALL) -m $(DATA_MODE) $$i $(INCDIR); \
47 done 47 done

mercurial