| Last change
 on this file since 546 was             310, checked in by root, 19 years ago | 
        
          | 
Add lxlite target
 | 
        
          | 
              
Property                 svn:eol-style
 set to                 native
Property                 svn:keywords
 set to                 Author Date Id Revision | 
        
          | File size:
            705 bytes | 
      
      
| Line |  | 
|---|
| 1 | # makefile_post.mk - common makefile suffix settings for all makefiles | 
|---|
| 2 | # $Id: makefile_post.mk 310 2006-06-27 00:28:31Z root $ | 
|---|
| 3 |  | 
|---|
| 4 | # 16 Aug 05 SHL Clean up | 
|---|
| 5 | # 16 Apr 06 SHL Add lxlite target | 
|---|
| 6 |  | 
|---|
| 7 | !ifndef MAKERES | 
|---|
| 8 |  | 
|---|
| 9 | $(BASE).exe: $(BASE).obj $(BASE).res $(BASE).def | 
|---|
| 10 | @$(LINK) @<<$(BASE).lrf | 
|---|
| 11 | $(LFLAGS) | 
|---|
| 12 | $(BASE).obj | 
|---|
| 13 | dll\fm3dll.lib | 
|---|
| 14 | os2386.lib | 
|---|
| 15 | $(BASE).def | 
|---|
| 16 | << | 
|---|
| 17 | @rem type $(BASE).lrf | 
|---|
| 18 | $(RC) -x2 $(BASE).res $@ | 
|---|
| 19 | bldlevel $@ | 
|---|
| 20 |  | 
|---|
| 21 | !else | 
|---|
| 22 |  | 
|---|
| 23 | $(BASE).exe: $(BASE).res | 
|---|
| 24 | @if not exist $@ echo $@ missing | 
|---|
| 25 | lxlite $@ /x+ /b- | 
|---|
| 26 | lxlite $@ /c:minstub | 
|---|
| 27 | $(RC) -x2 $(BASE).res $@ | 
|---|
| 28 | lxlite $@ /x- /b- | 
|---|
| 29 | bldlevel $@ | 
|---|
| 30 |  | 
|---|
| 31 | !endif | 
|---|
| 32 |  | 
|---|
| 33 | lxlite:: $(BASE).exe | 
|---|
| 34 | lxlite /x- /b- $? | 
|---|
| 35 |  | 
|---|
| 36 | clean: | 
|---|
| 37 | -del $(BASE).exe | 
|---|
| 38 | -del $(BASE).lrf | 
|---|
| 39 | -del $(BASE).map | 
|---|
| 40 | -del $(BASE).obj | 
|---|
| 41 | -del $(BASE).res | 
|---|
| 42 |  | 
|---|
| 43 | # The end | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.