blob: 22b23f469680dbf47b9996d50bd296401bfe7cc6 (
plain)
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
|
# Warning: Handcrafted!
#############################################################################
# Makefile for building targets in sub directories.
# Project: wellenreiter
# Template: subdirs
#############################################################################
MAKEFILE= Makefile
TMAKE = tmake
SUBDIRS = libwellenreiter/source daemon/source gui
all: $(SUBDIRS)
$(SUBDIRS): FORCE
cd $@; $(MAKE)
tmake:
tmake wellenreiter.pro
tmake_all:
for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; pro=`basename $$i`.pro ; $(TMAKE) $$pro -o $(MAKEFILE); grep "TEMPLATE.*subdirs" $$pro 2>/dev/null >/dev/null && $(MAKE) -f $(MAKEFILE) tmake_all || true; fi; ) ; done
clean release debug:
for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) $@; fi; ) ; done
FORCE:
|