Last change
on this file since 433 was 414, checked in by root, 19 years ago |
Tweak dependencies
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | # makefile - build all fm/2 components
|
---|
2 | # $Id: makefile 414 2006-07-31 17:30:35Z root $
|
---|
3 |
|
---|
4 | # Copyright (c) 1993-98 M. Kimes
|
---|
5 | # Copyright (c) 2002, 2006 Steven H. Levine
|
---|
6 |
|
---|
7 | # 24 May 05 SHL Add clean and cleanobj target
|
---|
8 | # 16 Jun 05 SHL Workaround makeflags wierdness
|
---|
9 | # 18 Jul 05 SHL Add bitmap dependencies
|
---|
10 | # 20 Jul 05 SHL Add makeres support
|
---|
11 | # 16 Apr 06 SHL Add lxlite target
|
---|
12 | # 31 Jul 06 SHL Tweak dependencies
|
---|
13 |
|
---|
14 | # Environment:
|
---|
15 |
|
---|
16 | # DEBUG 0 = release build, 1 = debug build
|
---|
17 |
|
---|
18 | BASE = fm3
|
---|
19 |
|
---|
20 | !include makefile_pre.mk
|
---|
21 |
|
---|
22 | all: dll $(BASE) allexe
|
---|
23 |
|
---|
24 | # Only update resources
|
---|
25 | res:
|
---|
26 | @echo Updating resources only
|
---|
27 | $(MAKE) /nologo /$(MAKEFLAGS) MAKERES=1
|
---|
28 |
|
---|
29 | # make DLL components
|
---|
30 |
|
---|
31 | dll:
|
---|
32 | cd dll
|
---|
33 | $(MAKE) /nologo /$(MAKEFLAGS)
|
---|
34 | cd ..
|
---|
35 |
|
---|
36 | $(BASE): $(BASE).exe $(BASE).res
|
---|
37 |
|
---|
38 | $(BASE).res: $(BASE).rc $(BASE).h icons\$(BASE).ico bitmaps\*.bmp
|
---|
39 |
|
---|
40 | $(BASE).obj: $(BASE).c $(BASE).h dll\version.h
|
---|
41 |
|
---|
42 | # make EXE compenents
|
---|
43 |
|
---|
44 | allexe: *.mak
|
---|
45 | !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS)
|
---|
46 |
|
---|
47 | lxlite:: *.mak
|
---|
48 | !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS) lxlite
|
---|
49 |
|
---|
50 | cleanobj:
|
---|
51 | cd dll
|
---|
52 | $(MAKE) /nologo $(MAKEFLAGS) cleanobj
|
---|
53 | cd ..
|
---|
54 | -del *.obj
|
---|
55 |
|
---|
56 | clean:
|
---|
57 | cd dll
|
---|
58 | $(MAKE) /nologo $(MAKEFLAGS) clean
|
---|
59 | cd ..
|
---|
60 | -del *.exe
|
---|
61 | -del *.map
|
---|
62 | -del *.obj
|
---|
63 | -del *.res
|
---|
64 | -del fm3res.str
|
---|
65 |
|
---|
66 | !include makefile_post.mk
|
---|
67 |
|
---|
68 | # The end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.