Initial commit
[amiga/OpenBoopsi.git] / docs / empty_Makefile
1 #
2 # $Id:$
3 #
4 # Copyright (C) 1999 by Matteo Cavalleri
5 #
6
7 ## This is the 'local' makefile, i.e. the makefile
8 ## that is placed in very classes' directory.
9 ## You can simply copy it in your class' directory
10 ## and rename it to 'Makefile', or, if you want, you
11 ## can customize it.
12 ##
13 ## We also suggest you to delete the lines beginning
14 ## with two '##' like the ones you are reading now.
15 ## This will make the processing of this file faster
16 ## since make won't have to strip tons of comments.
17 ##
18 include $(BOOPSITOP)/config.mk
19 ##
20 ## This include the local configuration
21 ## for your class, i.e. the file with
22 ## the class name, version, etc.
23 ## It must be present and properly
24 ## customized. Read the Empty_config.mk
25 ## file in the docs/ directory for a more
26 ## detailed explanation.
27 ##
28 include config.mk
29
30 ##
31 ## These variables will be used by the general.mk
32 ## files, so you may use them to pass "arguments"
33 ## to it, e.g. if you need to link a specific object
34 ## to your demo program or class.
35 ##
36 ## the ARG_COMMON is the arguments that will be used
37 ## for all the targets, the other variables will be
38 ## used only for the specific target
39 ##
40 ## example
41 ##
42 ## ARG_ALL := $(ARG_COMMON) MyObj.o
43 ##
44 ARG_COMMON :=
45 ARG_ALL := $(ARG_COMMON)
46 ARG_LIB := $(ARG_COMMON)
47 ARG_DEBUG := $(ARG_COMMON)
48 ARG_PRIVATE := $(ARG_COMMON)
49 ARG_OBJ := $(ARG_COMMON)
50 ARG_INSTALL := $(ARG_COMMON)
51
52 ##
53 ## These variables will be used by the general.mk
54 ## files, so you may use them to pass "arguments"
55 ## to it, e.g. if you need to add new dependencies
56 ## to the various targets
57 ##
58 ## the DEP_COMMON is the arguments that will be used
59 ## for all the targets, the other variables will be
60 ## used only for the specific target
61 ##
62 ## example
63 ##
64 ## DEP_ALL := $(DEP_COMMON) MyObj.o
65 ##
66 DEP_COMMON :=
67 DEP_ALL := $(DEP_COMMON)
68 DEP_LIB := $(DEP_COMMON)
69 DEP_DEBUG := $(DEP_COMMON)
70 DEP_PRIVATE := $(DEP_COMMON)
71 DEP_OBJ := $(DEP_COMMON)
72
73 ##
74 ## This is the real makefile. If you
75 ## don't like it you can include your
76 ## own makefile. We suggest you to put it
77 ## in the common/ directory (with a name
78 ## different from 'general.mk') and to include
79 ## it rather than writing it here, so that
80 ## other user can use it for their classes.
81 ##
82 ## example
83 ##
84 ## include $(BOOPSITOP)/common/mycustommakefile.mk
85 ##
86 include $(BOOPSITOP)/common/general.mk
87
88 ##
89 ## Below you can add your own custom targets that are
90 ## needed for your class.
91 ##
92 ## example
93 ##
94 ## MyObj.o: MyObj.c
95 ##    $(CC) $^ $(O) $@
96 ##