comparison src/Makefile.in @ 2055:1523f75dc160

[project @ 1996-04-07 04:05:50 by jwe]
author jwe
date Sun, 07 Apr 1996 04:07:59 +0000
parents 6acfd17972b4
children 424b95481a85
comparison
equal deleted inserted replaced
2054:ec7dd9f85f42 2055:1523f75dc160
164 164
165 DISTFILES = Makefile.in mkdefs mkbuiltins mk-oct-links.in \ 165 DISTFILES = Makefile.in mkdefs mkbuiltins mk-oct-links.in \
166 octave.gperf octave.cc parse.cc lex.cc y.tab.h \ 166 octave.gperf octave.cc parse.cc lex.cc y.tab.h \
167 $(INCLUDES) $(DLD_SRC) $(SOURCES) $(TEMPLATE_SRC) $(TI_SRC) 167 $(INCLUDES) $(DLD_SRC) $(SOURCES) $(TEMPLATE_SRC) $(TI_SRC)
168 168
169 all: defaults.h stamp-picdir libraries \ 169 all: stamp-prereq stamp-picdir libraries \
170 $(OCT_FILES) octave 170 $(OCT_FILES) octave
171 .PHONY: all 171 .PHONY: all
172
173 stamp-prereq: defaults.h
174 touch stamp-prereq
172 175
173 octave: octave.o builtins.o $(DLD_STATIC_OBJ) libraries 176 octave: octave.o builtins.o $(DLD_STATIC_OBJ) libraries
174 $(CXX) $(CPPFLAGS) $(ALL_CXXFLAGS) $(ALL_LDFLAGS) -o octave \ 177 $(CXX) $(CPPFLAGS) $(ALL_CXXFLAGS) $(ALL_LDFLAGS) -o octave \
175 octave.o builtins.o $(DLD_STATIC_OBJ) \ 178 octave.o builtins.o $(DLD_STATIC_OBJ) \
176 $(OCTAVE_LFLAGS) \ 179 $(OCTAVE_LFLAGS) \
266 rm -f *.o pic/*.o 269 rm -f *.o pic/*.o
267 .PHONY: mostlyclean 270 .PHONY: mostlyclean
268 271
269 distclean: clean 272 distclean: clean
270 rm -f Makefile octave .fname so_locations 273 rm -f Makefile octave .fname so_locations
271 rm -f stamp-picdir stamp-tinst stamp-interp 274 rm -f stamp-picdir stamp-tinst stamp-interp stamp-prereq
272 -rmdir pic 275 -rmdir pic
273 .PHONY: distclean 276 .PHONY: distclean
274 277
275 maintainer-clean: distclean 278 maintainer-clean: distclean
276 rm -f tags TAGS y.tab.c y.tab.h y.output yy.lex.c lex.cc \ 279 rm -f tags TAGS y.tab.c y.tab.h y.output yy.lex.c lex.cc parse.cc
277 rm -f parse.cc oct-gperf.h stamp-picdir stamp-tinst stamp-interp 280 rm -f oct-gperf.h stamp-picdir stamp-tinst stamp-interp stamp-prereq
278 -rmdir pic 281 -rmdir pic
279 .PHONY: maintainer-clean 282 .PHONY: maintainer-clean
280 283
281 local-dist: parse.cc lex.cc oct-gperf.h 284 local-dist: parse.cc lex.cc oct-gperf.h
282 ln $(DISTFILES) ../`cat ../.fname`/src 285 ln $(DISTFILES) ../`cat ../.fname`/src
328 @$(top_srcdir)/move-if-change $@.tmp $@ 331 @$(top_srcdir)/move-if-change $@.tmp $@
329 332
330 check: all 333 check: all
331 .PHONY: check 334 .PHONY: check
332 335
336 # If missing, GNU make attempts to create them in the reverse of the
337 # order in which they are listed here. We rely on that fact to ensure
338 # that defaults.h is created before trying to create the .d files.
339 # Hmm. I wonder if we can count on that...
340
333 ifndef omit_deps 341 ifndef omit_deps
334 -include $(MAKEDEPS) 342 -include $(MAKEDEPS) stamp-prereq
335 endif 343 endif