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
RevLine 
[238]1# makefile - build all fm/2 components
[74]2# $Id: makefile 310 2006-06-27 00:28:31Z root $
[2]3
[147]4# 24 May 05 SHL Add clean and cleanobj target
[211]5# 16 Jun 05 SHL Workaround makeflags wierdness
[238]6# 18 Jul 05 SHL Add bitmap dependencies
7# 20 Jul 05 SHL Add makeres support
[310]8# 16 Apr 06 SHL Add lxlite target
[74]9
10# Environment:
11
[310]12# DEBUG 0 = release build, 1 = debug build
[74]13
[15]14BASE = fm3
[2]15
[238]16!include makefile_pre.mk
[2]17
[310]18all: dll $(BASE) allexe
[2]19
[238]20# Only update resources
21res:
22 @echo Updating resources only
23 $(MAKE) /nologo /$(MAKEFLAGS) MAKERES=1
24
25# make DLL components
26
27dll:
[15]28 cd dll
[211]29 $(MAKE) /nologo /$(MAKEFLAGS)
[15]30 cd ..
[2]31
[238]32$(BASE): $(BASE).exe $(BASE).res
[2]33
[238]34$(BASE).res: $(BASE).rc $(BASE).h bitmaps\*.bmp
[2]35
[238]36$(BASE).obj: $(BASE).c $(BASE).h dll\version.h
[2]37
[238]38# make EXE compenents
[2]39
[310]40allexe: *.mak
41 !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS)
[238]42
[310]43lxlite:: *.mak
44 !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS) lxlite
45
[147]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
[238]62!include makefile_post.mk
[15]63
64# The end
Note: See TracBrowser for help on using the repository browser.