source: trunk/makefile@ 380

Last change on this file since 380 was 310, checked in by root, 19 years ago

Add lxlite target

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