source: trunk/makefile@ 577

Last change on this file since 577 was 554, checked in by Gregg Young, 19 years ago

Removed unused source files and references (fm3.h, fm4.h, footnote.ipf, CVS stuff)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# makefile - build all fm/2 components
2# $Id: makefile 554 2007-03-03 19:05:11Z gyoung $
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# 26 Aug 06 SHL Add rest of lxlite support
14
15# Environment:
16
17# DEBUG 0 = release build, 1 = debug build
18
19BASE = fm3
20
21!include makefile_pre.mk
22
23all: dll $(BASE) allexe
24
25# Only update resources
26res:
27 @echo Updating resources only
28 $(MAKE) /nologo /$(MAKEFLAGS) MAKERES=1
29
30# make DLL components
31
32dll:
33 cd dll
34 $(MAKE) /nologo /$(MAKEFLAGS)
35 cd ..
36
37$(BASE): $(BASE).exe $(BASE).res
38
39$(BASE).res: $(BASE).rc icons\$(BASE).ico bitmaps\*.bmp
40
41$(BASE).obj: $(BASE).c dll\version.h
42
43# make EXE compenents
44
45allexe: *.mak
46 !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS)
47
48# makefile_post.mk contains lxlite target for $(BASE).exe
49# Apply to each *.mak for other exes
50lxlite:: *.mak
51 !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS) lxlite
52
53# Apply to dlls
54lxlite::
55 cd dll
56 $(MAKE) /nologo /$(MAKEFLAGS) lxlite
57 cd ..
58
59cleanobj:
60 cd dll
61 $(MAKE) /nologo $(MAKEFLAGS) cleanobj
62 cd ..
63 -del *.obj
64
65clean:
66 cd dll
67 $(MAKE) /nologo $(MAKEFLAGS) clean
68 cd ..
69 -del *.exe
70 -del *.map
71 -del *.obj
72 -del *.res
73 -del fm3res.str
74
75!include makefile_post.mk
76
77# The end
Note: See TracBrowser for help on using the repository browser.