1#############################################################################
2# Makefile for building: opencsg
3# Generated by qmake (2.01a) (Qt 4.8.6) on: Mo. Sep 15 21:55:57 2014
4# Project:  opencsg.pro
5# Template: subdirs
6# Command: /usr/lib/x86_64-linux-gnu/qt4/bin/qmake -o Makefile opencsg.pro
7#############################################################################
8
9first: make_default
10MAKEFILE      = Makefile
11QMAKE         = /usr/lib/x86_64-linux-gnu/qt4/bin/qmake
12DEL_FILE      = rm -f
13CHK_DIR_EXISTS= test -d
14MKDIR         = mkdir -p
15COPY          = cp -f
16COPY_FILE     = $(COPY)
17COPY_DIR      = $(COPY) -r
18INSTALL_FILE  = install -m 644 -p
19INSTALL_PROGRAM = install -m 755 -p
20INSTALL_DIR   = $(COPY_DIR)
21DEL_FILE      = rm -f
22SYMLINK       = ln -f -s
23DEL_DIR       = rmdir
24MOVE          = mv -f
25CHK_DIR_EXISTS= test -d
26MKDIR         = mkdir -p
27SUBTARGETS    =  \
28		sub-src \
29		sub-example
30
31src//$(MAKEFILE):
32	@$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
33	cd src/ && $(QMAKE) src.pro -o $(MAKEFILE)
34sub-src-qmake_all:  FORCE
35	@$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
36	cd src/ && $(QMAKE) src.pro -o $(MAKEFILE)
37sub-src: src//$(MAKEFILE) FORCE
38	cd src/ && $(MAKE) -f $(MAKEFILE)
39sub-src-make_default: src//$(MAKEFILE) FORCE
40	cd src/ && $(MAKE) -f $(MAKEFILE)
41sub-src-make_first: src//$(MAKEFILE) FORCE
42	cd src/ && $(MAKE) -f $(MAKEFILE) first
43sub-src-all: src//$(MAKEFILE) FORCE
44	cd src/ && $(MAKE) -f $(MAKEFILE) all
45sub-src-clean: src//$(MAKEFILE) FORCE
46	cd src/ && $(MAKE) -f $(MAKEFILE) clean
47sub-src-distclean: src//$(MAKEFILE) FORCE
48	cd src/ && $(MAKE) -f $(MAKEFILE) distclean
49sub-src-install_subtargets: src//$(MAKEFILE) FORCE
50	cd src/ && $(MAKE) -f $(MAKEFILE) install
51sub-src-uninstall_subtargets: src//$(MAKEFILE) FORCE
52	cd src/ && $(MAKE) -f $(MAKEFILE) uninstall
53example//$(MAKEFILE):
54	@$(CHK_DIR_EXISTS) example/ || $(MKDIR) example/
55	cd example/ && $(QMAKE) example.pro -o $(MAKEFILE)
56sub-example-qmake_all:  FORCE
57	@$(CHK_DIR_EXISTS) example/ || $(MKDIR) example/
58	cd example/ && $(QMAKE) example.pro -o $(MAKEFILE)
59sub-example: example//$(MAKEFILE) FORCE
60	cd example/ && $(MAKE) -f $(MAKEFILE)
61sub-example-make_default: example//$(MAKEFILE) FORCE
62	cd example/ && $(MAKE) -f $(MAKEFILE)
63sub-example-make_first: example//$(MAKEFILE) FORCE
64	cd example/ && $(MAKE) -f $(MAKEFILE) first
65sub-example-all: example//$(MAKEFILE) FORCE
66	cd example/ && $(MAKE) -f $(MAKEFILE) all
67sub-example-clean: example//$(MAKEFILE) FORCE
68	cd example/ && $(MAKE) -f $(MAKEFILE) clean
69sub-example-distclean: example//$(MAKEFILE) FORCE
70	cd example/ && $(MAKE) -f $(MAKEFILE) distclean
71sub-example-install_subtargets: example//$(MAKEFILE) FORCE
72	cd example/ && $(MAKE) -f $(MAKEFILE) install
73sub-example-uninstall_subtargets: example//$(MAKEFILE) FORCE
74	cd example/ && $(MAKE) -f $(MAKEFILE) uninstall
75
76qmake: qmake_all FORCE
77	@$(QMAKE) -o Makefile opencsg.pro
78
79qmake_all: sub-src-qmake_all sub-example-qmake_all FORCE
80
81make_default: sub-src-make_default sub-example-make_default FORCE
82make_first: sub-src-make_first sub-example-make_first FORCE
83all: sub-src-all sub-example-all FORCE
84clean: sub-src-clean sub-example-clean FORCE
85distclean: sub-src-distclean sub-example-distclean FORCE
86	-$(DEL_FILE) Makefile
87install_subtargets: sub-src-install_subtargets sub-example-install_subtargets FORCE
88uninstall_subtargets: sub-src-uninstall_subtargets sub-example-uninstall_subtargets FORCE
89
90sub-src-check: src/$(MAKEFILE)
91	cd src/ && $(MAKE) -f $(MAKEFILE) check
92sub-example-check: example/$(MAKEFILE)
93	cd example/ && $(MAKE) -f $(MAKEFILE) check
94check: sub-src-check sub-example-check
95
96mocclean: compiler_moc_header_clean compiler_moc_source_clean
97
98mocables: compiler_moc_header_make_all compiler_moc_source_make_all
99install: install_subtargets  FORCE
100
101uninstall:  uninstall_subtargets FORCE
102
103FORCE:
104
105