blob: db085e35c9a13486c93a52bfa597ef40c476759a (
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 daemon 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:
|