| 
            Last change
 on this file was             148, checked in by gyoung, 22 months ago           | 
        
        
          | 
             
Automate building of all def files. Some minor code and makefile cleanup 
 
           | 
        
        
          | 
            File size:
            664 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | # Makefile
 | 
|---|
| 2 | 
 | 
|---|
| 3 | include ../../../make.inc
 | 
|---|
| 4 | include ../mmprog.inc
 | 
|---|
| 5 | 
 | 
|---|
| 6 | ICONDIR =       ..\res\Icons
 | 
|---|
| 7 | OBJECTS =       $(LIBDIR)/message.obj \
 | 
|---|
| 8 |                 $(LIBDIR)/helper.obj \
 | 
|---|
| 9 |                 $(LIBDIR)/progbars.obj \
 | 
|---|
| 10 |                 $(LIBDIR)/sys_funcs.obj
 | 
|---|
| 11 | #OBJECTS        =       $(OBJDIR)/message.obj $(OBJDIR)/helper.obj $(OBJDIR)/progbars.obj \
 | 
|---|
| 12 |                         $(OBJDIR)/sys_funcs.obj
 | 
|---|
| 13 | 
 | 
|---|
| 14 | all:    volume.exe
 | 
|---|
| 15 | 
 | 
|---|
| 16 | 
 | 
|---|
| 17 | volume.exe:     volume.c $(OBJECTS) makefile def.tpl
 | 
|---|
| 18 |         cmd /C $(TOOLDIR)\create_def.cmd volume.def
 | 
|---|
| 19 |         $(CC) $(CPPFLAGS) -I$(INC) volume.c $(OBJECTS) mmpm2.lib volume.def
 | 
|---|
| 20 |         rc -I $(INC) volume.rc volume.exe
 | 
|---|
| 21 | 
 | 
|---|
| 22 | clean:
 | 
|---|
| 23 |         -rm *.exe
 | 
|---|
| 24 |         -rm *.obj
 | 
|---|
| 25 |         -rm *.RES
 | 
|---|
| 26 |         -rm *.ini
 | 
|---|
| 27 |         -rm *.def
 | 
|---|
| 28 | 
 | 
|---|
| 29 | cleaner:
 | 
|---|
| 30 |         -rm *.*~
 | 
|---|
| 31 |         -rm *.flc
 | 
|---|
| 32 | 
 | 
|---|
| 33 | 
 | 
|---|
| 34 | distribution:
 | 
|---|
| 35 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.