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
RevLine 
[238]1# makefile - build all fm/2 components
[74]2# $Id: makefile 554 2007-03-03 19:05:11Z gyoung $
[2]3
[414]4# Copyright (c) 1993-98 M. Kimes
5# Copyright (c) 2002, 2006 Steven H. Levine
6
[147]7# 24 May 05 SHL Add clean and cleanobj target
[211]8# 16 Jun 05 SHL Workaround makeflags wierdness
[238]9# 18 Jul 05 SHL Add bitmap dependencies
10# 20 Jul 05 SHL Add makeres support
[310]11# 16 Apr 06 SHL Add lxlite target
[414]12# 31 Jul 06 SHL Tweak dependencies
[465]13# 26 Aug 06 SHL Add rest of lxlite support
[74]14
15# Environment:
16
[310]17# DEBUG 0 = release build, 1 = debug build
[74]18
[15]19BASE = fm3
[2]20
[238]21!include makefile_pre.mk
[2]22
[310]23all: dll $(BASE) allexe
[2]24
[238]25# Only update resources
26res:
27 @echo Updating resources only
28 $(MAKE) /nologo /$(MAKEFLAGS) MAKERES=1
29
30# make DLL components
31
32dll:
[15]33 cd dll
[211]34 $(MAKE) /nologo /$(MAKEFLAGS)
[15]35 cd ..
[2]36
[238]37$(BASE): $(BASE).exe $(BASE).res
[2]38
[554]39$(BASE).res: $(BASE).rc icons\$(BASE).ico bitmaps\*.bmp
[2]40
[554]41$(BASE).obj: $(BASE).c dll\version.h
[2]42
[238]43# make EXE compenents
[2]44
[310]45allexe: *.mak
46 !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS)
[238]47
[465]48# makefile_post.mk contains lxlite target for $(BASE).exe
49# Apply to each *.mak for other exes
[310]50lxlite:: *.mak
51 !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS) lxlite
52
[465]53# Apply to dlls
54lxlite::
55 cd dll
56 $(MAKE) /nologo /$(MAKEFLAGS) lxlite
57 cd ..
58
[147]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
[238]75!include makefile_post.mk
[15]76
77# The end
Note: See TracBrowser for help on using the repository browser.