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
15 # no need to edit below this line !!!!
17 RULES_DIR
=$(WXBASEDIR
)/setup
/rules
18 RULES_GENERIC
=$(RULES_DIR
)/generic
19 SETUP_DIR
=$(WXBASEDIR
)/setup
/$(OS
)
20 SHARE_DIR
=$(WXBASEDIR
)/setup
/shared
22 SRCDIR
=$(WXBASEDIR
)/src
23 UTILS
=$(WXBASEDIR
)/utils
24 SAMPLES
=$(WXBASEDIR
)/samples
25 OTHER
=$(WXBASEDIR
)/other
27 # now include the global setting
28 include $(SETUP_DIR
)/maketmpl
30 # now include the rule needed
31 include $(RULES_DIR
)/$(RULE
)
33 # now include the global objects
34 include $(RULES_GENERIC
)/globals