Mercurial > octave-nkf
comparison src/Makefile.in @ 292:e0b1d5ed15ab
[project @ 1994-01-15 21:50:56 by jwe]
author | jwe |
---|---|
date | Sat, 15 Jan 1994 21:51:16 +0000 |
parents | 6027a905fc06 |
children | cea502d7510e |
comparison
equal
deleted
inserted
replaced
291:d8f9567f9e41 | 292:e0b1d5ed15ab |
---|---|
27 | 27 |
28 %.c : %.l | 28 %.c : %.l |
29 | 29 |
30 %.cc : %.l | 30 %.cc : %.l |
31 $(LEX) $(LFLAGS) $< > $(@F) | 31 $(LEX) $(LFLAGS) $< > $(@F) |
32 | |
33 # Here is a rule for generating dependencies for .cc files: | |
34 | |
35 %.d: %.cc | |
36 rm -f $@ | |
37 -if test "$(srcdir)" = "." ; then \ | |
38 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \ | |
39 sed -e 's/$*\.o/& $@/g' > $@.tmp && \ | |
40 mv $@.tmp $@ ; \ | |
41 else \ | |
42 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \ | |
43 sed -e 's/$*\.o/& $@/g' -e 's,$(srcdir)/,,g' > $@.tmp && \ | |
44 mv $@.tmp $@ ; \ | |
45 fi | |
46 | |
47 # And one for .c files.too: | |
48 | |
49 %.d: %.c | |
50 rm -f $@ | |
51 -if test "$(srcdir)" = "." ; then \ | |
52 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \ | |
53 sed -e 's/$*\.o/& $@/g' > $@.tmp && \ | |
54 mv $@.tmp $@ ; \ | |
55 else \ | |
56 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \ | |
57 sed -e 's/$*\.o/& $@/g' -e 's,$(srcdir)/,,g' > $@.tmp && \ | |
58 mv $@.tmp $@ ; \ | |
59 fi | |
60 | 32 |
61 INCLUDES = arith-ops.h builtins.h dynamic-ld.h defaults.h.in \ | 33 INCLUDES = arith-ops.h builtins.h dynamic-ld.h defaults.h.in \ |
62 defaults.h error.h f-balance.h f-chol.h f-colloc.h f-dassl.h \ | 34 defaults.h error.h f-balance.h f-chol.h f-colloc.h f-dassl.h \ |
63 f-det.h f-eig.h f-expm.h f-fft.h f-fsolve.h f-fsqp.h f-givens.h \ | 35 f-det.h f-eig.h f-expm.h f-fft.h f-fsolve.h f-fsqp.h f-givens.h \ |
64 f-hess.h f-ifft.h f-inv.h f-lpsolve.h f-lsode.h f-lu.h \ | 36 f-hess.h f-ifft.h f-inv.h f-lpsolve.h f-lsode.h f-lu.h \ |