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