[go: up one dir, main page]

Menu

[1030e1]: / trunk / Makefile  Maximize  Restore  History

Download this file

22 lines (16 with data), 415 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
SRCDIR = ./src
BINDIR = ./bin
VPATH = $(SRCDIR)
INSTALLDIR = /usr/local/
VERSION = 2_2
SUBDIRS = bin src examples
all:
make -C bin -f ../src/Makefile $@ \
VPATH="$(VPATH)" \
VERSION="$(VERSION)"
install:
make -C bin -f ../src/Makefile $@ \
INSTALLDIR="$(INSTALLDIR)" \
VERSION="$(VERSION)"
clean:
for d in $(SUBDIRS); do test -d $$d && make -C $$d -f ../src/Makefile clean; done