1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
include Makefile.config
SUBDIRS=compiler support lib frx jtk safe jpf tkanim
Makefile.config:
@echo "You must configure first. Read INSTALL."
exit 1
all: Makefile.config
cd support; $(MAKE)
cd compiler; $(MAKE)
cd lib; $(MAKE) -f Makefile.gen; $(MAKE)
cd frx; $(MAKE)
cd jtk; $(MAKE)
# cd threads; $(MAKE)
cd jpf; $(MAKE)
cd tkanim; $(MAKE)
cd safe; $(MAKE)
lib: Widgets.src
compiler/tkcompiler
cd lib; $(MAKE)
install:
[ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
cp Makefile.camltk $(INSTALLDIR)
cd lib; $(MAKE) install
cd support; $(MAKE) install
cd compiler; $(MAKE) install
cd frx; $(MAKE) install
cd jpf; $(MAKE) install
cd jtk; $(MAKE) install
cd tkanim; $(MAKE) install
cd safe; $(MAKE) install
clean :
-rm -f config.cache
for d in $(SUBDIRS); do \
cd $$d; $(MAKE) clean; cd ..; \
done
distclean: clean
-rm -f config.log config.status config.cache
-rm -f Makefile.config Makefile.camltk
|