For the tutorial the old Makefiles are saved as Makefile.simple in all the respective directories. Use generated config.h instead of command-line passing of preprocessor flags. Updated support files from current automake.
46 lines
929 B
Makefile
46 lines
929 B
Makefile
###############################################################################
|
|
##
|
|
## Makefile.am for eo
|
|
##
|
|
###############################################################################
|
|
|
|
SUBDIRS = src test app tutorial
|
|
|
|
#Directory for documents
|
|
DOCDIR = ~/public_html/eodocs
|
|
|
|
#Directory for indices -- not useful for the user
|
|
IDXDIR = ~/index
|
|
|
|
# EXTRA_DIST=LICENSE
|
|
|
|
|
|
|
|
# special targets
|
|
app:
|
|
cd app; $(MAKE) all; cd ..
|
|
|
|
# so that make doc always compiles the doc ...
|
|
doc: doc/eo.cfg
|
|
cd doc; $(MAKE) doc; touch eo.cfg; cd ..
|
|
|
|
tutorial:
|
|
cd $(srcdir)/tutorial; $(MAKE) all; cd ..
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
#lib:
|
|
# cd src; $(MAKE) all; cd ..
|
|
|
|
|
|
#all:
|
|
# for i in $(SUBDIRS); do cd $$i && $(MAKE) all; cd ..; done
|
|
|
|
#clean:
|
|
# for i in $(SUBDIRS); do cd $$i && $(MAKE) clean; cd ..; done
|
|
|
|
###############################################################################
|