source: trunk/makefile@ 229

Last change on this file since 229 was 211, checked in by root, 20 years ago

Workaround makeflags wierdness

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 753 bytes
RevLine 
[74]1# makefile - build fm/2
2# $Id: makefile 211 2005-06-18 03:49:57Z root $
[2]3
[147]4# 21 Nov 03 SHL Comments
5# 24 May 05 SHL Add clean and cleanobj target
[211]6# 16 Jun 05 SHL Workaround makeflags wierdness
[74]7
8# Environment:
9
10# DEBUG 0 = release build, 1 = debug build
11
[15]12BASE = fm3
[2]13
[15]14!INCLUDE makefile_pre.mk
[2]15
[15]16ALL: DLL $(BASE) MAK
[2]17
[15]18DLL:
19 cd dll
[211]20 $(MAKE) /nologo /$(MAKEFLAGS)
[15]21 cd ..
[2]22
[15]23$(BASE): $(BASE).EXE \
24 $(BASE).res
[2]25
[15]26$(BASE).res: $(BASE).rc \
27 $(BASE).h
[2]28
[15]29$(BASE).obj: $(BASE).c \
30 $(BASE).h dll\version.h
[2]31
[74]32MAK: *.mak
[15]33 !$(MAKE) /NOLOGO /f $?
[2]34
[147]35cleanobj:
36 cd dll
37 $(MAKE) /nologo $(MAKEFLAGS) cleanobj
38 cd ..
39 -del *.obj
40
41clean:
42 cd dll
43 $(MAKE) /nologo $(MAKEFLAGS) clean
44 cd ..
45 -del *.exe
46 -del *.map
47 -del *.obj
48 -del *.res
49 -del fm3res.str
50
[15]51!INCLUDE makefile_post.mk
52
53# The end
Note: See TracBrowser for help on using the repository browser.