65 lines
1.5 KiB
Makefile
65 lines
1.5 KiB
Makefile
# Top Makefile for LablTk
|
|
|
|
include ../../config/Makefile
|
|
|
|
|
|
|
|
SUBDIRS=compiler support lib labltk camltk jpf frx tkanim examples_labltk examples_camltk browser
|
|
|
|
all:
|
|
cd support ; $(MAKEREC)
|
|
cd compiler ; $(MAKEREC)
|
|
cd labltk ; $(MAKECMD) -f Makefile.gen.nt
|
|
cd labltk ; $(MAKEREC)
|
|
cd camltk ; $(MAKECMD) -f Makefile.gen.nt
|
|
cd camltk ; $(MAKEREC)
|
|
cd lib ; $(MAKEREC)
|
|
cd jpf ; $(MAKEREC)
|
|
cd frx ; $(MAKEREC)
|
|
cd tkanim ; $(MAKEREC)
|
|
cd browser ; $(MAKEREC)
|
|
|
|
allopt:
|
|
cd support ; $(MAKEREC) opt
|
|
cd labltk ; $(MAKECMD) -f Makefile.gen.nt
|
|
cd labltk ; $(MAKEREC) opt
|
|
cd camltk ; $(MAKECMD) -f Makefile.gen.nt
|
|
cd camltk ; $(MAKEREC) opt
|
|
cd lib ; $(MAKEREC) opt
|
|
cd jpf ; $(MAKEREC) opt
|
|
cd frx ; $(MAKEREC) opt
|
|
cd tkanim ; $(MAKEREC) opt
|
|
|
|
.PHONY: examples_labltk examples_camltk
|
|
|
|
examples: examples_labltk examples_camltk
|
|
|
|
examples_labltk:
|
|
cd examples_labltk; $(MAKE) all
|
|
|
|
examples_camltk:
|
|
cd examples_camltk; $(MAKE) all
|
|
|
|
install:
|
|
cd labltk ; $(MAKEREC) install
|
|
cd camltk ; $(MAKEREC) install
|
|
cd lib ; $(MAKEREC) install
|
|
cd support ; $(MAKEREC) install
|
|
cd compiler ; $(MAKEREC) install
|
|
cd jpf ; $(MAKEREC) install
|
|
cd frx ; $(MAKEREC) install
|
|
cd tkanim ; $(MAKEREC) install
|
|
cd browser ; $(MAKEREC) install
|
|
|
|
installopt:
|
|
cd support ; $(MAKEREC) installopt
|
|
cd labltk ; $(MAKEREC) installopt
|
|
cd camltk ; $(MAKEREC) installopt
|
|
cd lib ; $(MAKEREC) installopt
|
|
cd jpf ; $(MAKEREC) installopt
|
|
cd frx ; $(MAKEREC) installopt
|
|
cd tkanim ; $(MAKEREC) installopt
|
|
|
|
partialclean clean:
|
|
for d in $(SUBDIRS); do $(MAKEREC) -C $$d clean; done
|