| 
            Last change
 on this file since 304 was             238, checked in by root, 20 years ago           | 
        
        
          | 
             
Add bitmap dependencies 
Add makeres support 
 
           | 
        
        
          
            
              - 
Property                 svn:eol-style
 set to                 
native
               
              - 
Property                 svn:keywords
 set to                 
Author Date Id Revision
               
             
           | 
        
        
          | 
            File size:
            977 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | # makefile - build all fm/2 components
 | 
|---|
| 2 | # $Id: makefile 238 2005-08-09 05:11:38Z root $
 | 
|---|
| 3 | 
 | 
|---|
| 4 | # 24 May 05 SHL Add clean and cleanobj target
 | 
|---|
| 5 | # 16 Jun 05 SHL Workaround makeflags wierdness
 | 
|---|
| 6 | # 18 Jul 05 SHL Add bitmap dependencies
 | 
|---|
| 7 | # 20 Jul 05 SHL Add makeres support
 | 
|---|
| 8 | 
 | 
|---|
| 9 | # Environment:
 | 
|---|
| 10 | 
 | 
|---|
| 11 | #   DEBUG       0 = release build, 1 = debug build
 | 
|---|
| 12 | 
 | 
|---|
| 13 | BASE = fm3
 | 
|---|
| 14 | 
 | 
|---|
| 15 | !include makefile_pre.mk
 | 
|---|
| 16 | 
 | 
|---|
| 17 | all: dll $(BASE) mak
 | 
|---|
| 18 | 
 | 
|---|
| 19 | # Only update resources
 | 
|---|
| 20 | res:
 | 
|---|
| 21 |   @echo Updating resources only
 | 
|---|
| 22 |   $(MAKE) /nologo /$(MAKEFLAGS) MAKERES=1
 | 
|---|
| 23 | 
 | 
|---|
| 24 | # make DLL components
 | 
|---|
| 25 | 
 | 
|---|
| 26 | dll:
 | 
|---|
| 27 |   cd dll
 | 
|---|
| 28 |   $(MAKE) /nologo /$(MAKEFLAGS)
 | 
|---|
| 29 |   cd ..
 | 
|---|
| 30 | 
 | 
|---|
| 31 | $(BASE): $(BASE).exe $(BASE).res
 | 
|---|
| 32 | 
 | 
|---|
| 33 | $(BASE).res: $(BASE).rc  $(BASE).h bitmaps\*.bmp
 | 
|---|
| 34 | 
 | 
|---|
| 35 | $(BASE).obj: $(BASE).c $(BASE).h dll\version.h
 | 
|---|
| 36 | 
 | 
|---|
| 37 | # make EXE compenents
 | 
|---|
| 38 | 
 | 
|---|
| 39 | mak: *.mak
 | 
|---|
| 40 |   !$(MAKE) /NOLOGO /$(MAKEFLAGS) /f $?
 | 
|---|
| 41 | 
 | 
|---|
| 42 | cleanobj:
 | 
|---|
| 43 |   cd dll
 | 
|---|
| 44 |   $(MAKE) /nologo $(MAKEFLAGS) cleanobj
 | 
|---|
| 45 |   cd ..
 | 
|---|
| 46 |   -del *.obj
 | 
|---|
| 47 | 
 | 
|---|
| 48 | clean:
 | 
|---|
| 49 |   cd dll
 | 
|---|
| 50 |   $(MAKE) /nologo $(MAKEFLAGS) clean
 | 
|---|
| 51 |   cd ..
 | 
|---|
| 52 |   -del *.exe
 | 
|---|
| 53 |   -del *.map
 | 
|---|
| 54 |   -del *.obj
 | 
|---|
| 55 |   -del *.res
 | 
|---|
| 56 |   -del fm3res.str
 | 
|---|
| 57 | 
 | 
|---|
| 58 | !include makefile_post.mk
 | 
|---|
| 59 | 
 | 
|---|
| 60 | # The end
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.