As gnu make is needed to compile micropolis, don't just directly call
make in subdirectories but use $(MAKE) instead.
micropolis-activity/Micropolis.png
all:
- cd tcl ; make all
- cd tk ; make all
- cd tclx ; make all
- cd sim ; make all
+ cd tcl ; $(MAKE) all
+ cd tk ; $(MAKE) all
+ cd tclx ; $(MAKE) all
+ cd sim ; $(MAKE) all
clean:
rm -f Micropolis.tgz
(cd .. ; touch junk~ ; rm -f *~)
touch junk~ ; rm -f *~
rm -rf BUILDIT
- cd tcl ; make clean
- cd tk ; make clean
- cd tclx ; make clean
- cd sim ; make clean
+ cd tcl ; $(MAKE) clean
+ cd tk ; $(MAKE) clean
+ cd tclx ; $(MAKE) clean
+ cd sim ; $(MAKE) clean
install: all
(cd $(RES) ; rm -f sim)
ranlib libtk.a
$(TCL_DIR)/libtcl.a:
- cd $(TCL_DIR); make libtcl.a
+ cd $(TCL_DIR); $(MAKE) libtcl.a
clean:
touch junk~