-somewhat more elegant method, supporting the src subdir (-Markus)
[wxWidgets.git] / template.mak
1 #the calling Makefile MUST set OS and RULE
2 #RULE can be one of the following:
3 # bin for one local binary
4 # bin2 for two local binaries
5 # gbin for one global binary
6 # gbin2 for two global binaries
7 # lib for a local library
8 # libbin for a local library and one local binary
9 # libgbin for a local library and one global binary
10 # glib for a global library
11 # glibbin for a global library and one local binary
12 # glibgbin for a global library and one global binary
13 # gslib for a global shared library
14
15 # no need to edit below this line !!!!
16
17 RULES_DIR=$(WXBASEDIR)/install/unix/setup/rules
18 RULES_GENERIC=$(RULES_DIR)/generic
19 SETUP_DIR=$(WXBASEDIR)/install/unix/setup/$(OS)
20 SHARE_DIR=$(WXBASEDIR)/install/unix/setup/shared
21
22 SRCDIR=$(WXBASEDIR)/src
23 UTILS=$(WXBASEDIR)/utils
24 SAMPLES=$(WXBASEDIR)/samples
25 OTHER=$(WXBASEDIR)/other
26
27 # now include the global setting
28 include $(SETUP_DIR)/maketmpl
29
30 # now include the rule needed
31 include $(RULES_DIR)/$(RULE)
32
33 # now include the global objects
34 include $(RULES_GENERIC)/globals
35