/[projet1]/users/mmu_man/sdk-makefile-engine/make/makefile
Defence Force logotype

Contents of /users/mmu_man/sdk-makefile-engine/make/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 852 - (show annotations)
Thu Sep 20 20:09:15 2012 UTC (7 years, 8 months ago) by mmu_man
File size: 711 byte(s)
Update comments; fix for lowercase nmake; update paths

* Use some more descriptive comments, include examples
* Also test for $(MAKE) as lowercase 'nmake' since at least Crimson Editor makes it say so when using lowercase as command name, unlike in cmd.exe.
* Update engine include paths to refer to $(OSDK) directly instead of requiring an extra environment variable.
* This means engine.*mk files must go to %OSDK%\make\ now.

1 ## OSDK Generic Makefile v0.1 ##
2
3 # specify the program name (without extension, no space)
4 #
5 # NAME=mydemo
6 NAME=
7
8 # specify the type of binary
9 # TAPE: Tape image (default)
10 # DISK: Disk image
11 #
12 # TYPE=TAPE
13 TYPE=
14
15 # specify the load address (in hex, no prefix)
16 #
17 # ADDR=600
18 ADDR=
19
20 # specify the source files (without extension)
21 #
22 # FILES=main foo bar ...
23 FILES=
24
25 # specify extra preprocessor defines (optional)
26 #
27 # DEFINES=-Dfoo=bar -DUSE_BAR ...
28 DEFINES=
29
30
31 ## No user serviceable part beyond this point ##
32
33 # MAGIC: DO NOT TOUCH
34 #\
35 !if "$(MAKE)" == "NMAKE" || "$(MAKE)" == "nmake"
36 #\
37 !include $(OSDK)\make\engine.nmk
38 #\
39 !else
40 include $(OSDK)/make/engine.mk
41 #\
42 !endif
43

  ViewVC Help
Powered by ViewVC 1.1.26