source: trunk/makefile@ 150

Last change on this file since 150 was 147, checked in by root, 20 years ago

Add clean and cleanobj target

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