| 
            Last change
 on this file since 449 was             414, checked in by root, 19 years ago           | 
        
        
          | 
             
Tweak dependencies 
 
           | 
        
        
          
            
              - 
Property                 svn:eol-style
 set to                 
native
               
              - 
Property                 svn:keywords
 set to                 
Author Date Id Revision
               
             
           | 
        
        
          | 
            File size:
            1.2 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [238] | 1 | # makefile - build all fm/2 components
 | 
|---|
| [74] | 2 | # $Id: makefile 414 2006-07-31 17:30:35Z root $
 | 
|---|
| [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
 | 
|---|
| [74] | 13 | 
 | 
|---|
 | 14 | # Environment:
 | 
|---|
 | 15 | 
 | 
|---|
| [310] | 16 | # DEBUG 0 = release build, 1 = debug build
 | 
|---|
| [74] | 17 | 
 | 
|---|
| [15] | 18 | BASE = fm3
 | 
|---|
| [2] | 19 | 
 | 
|---|
| [238] | 20 | !include makefile_pre.mk
 | 
|---|
| [2] | 21 | 
 | 
|---|
| [310] | 22 | all: dll $(BASE) allexe
 | 
|---|
| [2] | 23 | 
 | 
|---|
| [238] | 24 | # Only update resources
 | 
|---|
 | 25 | res:
 | 
|---|
 | 26 |   @echo Updating resources only
 | 
|---|
 | 27 |   $(MAKE) /nologo /$(MAKEFLAGS) MAKERES=1
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | # make DLL components
 | 
|---|
 | 30 | 
 | 
|---|
 | 31 | dll:
 | 
|---|
| [15] | 32 |   cd dll
 | 
|---|
| [211] | 33 |   $(MAKE) /nologo /$(MAKEFLAGS)
 | 
|---|
| [15] | 34 |   cd ..
 | 
|---|
| [2] | 35 | 
 | 
|---|
| [238] | 36 | $(BASE): $(BASE).exe $(BASE).res
 | 
|---|
| [2] | 37 | 
 | 
|---|
| [414] | 38 | $(BASE).res: $(BASE).rc  $(BASE).h icons\$(BASE).ico bitmaps\*.bmp
 | 
|---|
| [2] | 39 | 
 | 
|---|
| [238] | 40 | $(BASE).obj: $(BASE).c $(BASE).h dll\version.h
 | 
|---|
| [2] | 41 | 
 | 
|---|
| [238] | 42 | # make EXE compenents
 | 
|---|
| [2] | 43 | 
 | 
|---|
| [310] | 44 | allexe: *.mak
 | 
|---|
 | 45 |   !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS)
 | 
|---|
| [238] | 46 | 
 | 
|---|
| [310] | 47 | lxlite:: *.mak
 | 
|---|
 | 48 |   !$(MAKE) /NOLOGO /f $? /$(MAKEFLAGS) lxlite
 | 
|---|
 | 49 | 
 | 
|---|
| [147] | 50 | cleanobj:
 | 
|---|
 | 51 |   cd dll
 | 
|---|
 | 52 |   $(MAKE) /nologo $(MAKEFLAGS) cleanobj
 | 
|---|
 | 53 |   cd ..
 | 
|---|
 | 54 |   -del *.obj
 | 
|---|
 | 55 | 
 | 
|---|
 | 56 | clean:
 | 
|---|
 | 57 |   cd dll
 | 
|---|
 | 58 |   $(MAKE) /nologo $(MAKEFLAGS) clean
 | 
|---|
 | 59 |   cd ..
 | 
|---|
 | 60 |   -del *.exe
 | 
|---|
 | 61 |   -del *.map
 | 
|---|
 | 62 |   -del *.obj
 | 
|---|
 | 63 |   -del *.res
 | 
|---|
 | 64 |   -del fm3res.str
 | 
|---|
 | 65 | 
 | 
|---|
| [238] | 66 | !include makefile_post.mk
 | 
|---|
| [15] | 67 | 
 | 
|---|
 | 68 | # The end
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.