| 
            Last change
 on this file was             2, checked in by stevenhl, 8 years ago           | 
        
        
          | 
             
Import sources from cwmm-full.zip dated 2005-03-21 
 
           | 
        
        
          | 
            File size:
            1.2 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | # Makefile
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #include ../../../make.inc
 | 
|---|
| 4 | 
 | 
|---|
| 5 | CC           = gcc
 | 
|---|
| 6 | LIB_DIR      = $d:/emx/lib 
 | 
|---|
| 7 | #CPPFLAGS     = -Ge- /Gm+ -G4 -Gl  /O+ -Oc+ -Ol
 | 
|---|
| 8 | CPPFLAGS     = -O -Zomf -Zcrtdll -s -W
 | 
|---|
| 9 | ICCFLAGS        = /Ss
 | 
|---|
| 10 | INC             = ../include -I ../../../classes/inc
 | 
|---|
| 11 | DEFS         = 
 | 
|---|
| 12 | PROGS        =  
 | 
|---|
| 13 | ODIR            = .
 | 
|---|
| 14 | CPPDIR  = .
 | 
|---|
| 15 | RESDIR  =       ..\res\$(LANGUAGE)
 | 
|---|
| 16 | ICONDIR =       ..\res\Icons
 | 
|---|
| 17 | HELPERDIR       =       ../../common
 | 
|---|
| 18 | LIBDIR  =       ../lib
 | 
|---|
| 19 | OBJECTS =       $(LIBDIR)/helper.obj $(LIBDIR)/message.obj $(LIBDIR)/sys_funcs.obj
 | 
|---|
| 20 | 
 | 
|---|
| 21 | #OBJECTS        =       $(HELPERDIR)\message.obj $(HELPERDIR)\helper.obj $(HELPERDIR)\progbars.obj 
 | 
|---|
| 22 | 
 | 
|---|
| 23 | RESOBJ  =       ./Res/001/volume.rc ./Res/001/volume.dlg \
 | 
|---|
| 24 |         ./Res/049/volume049.rc ./Res/049/volume049.dlg \
 | 
|---|
| 25 |         ./volumeres.h
 | 
|---|
| 26 | 
 | 
|---|
| 27 | all:    tst.exe
 | 
|---|
| 28 | 
 | 
|---|
| 29 | tst.exe:        volume.c $(OBJECTS) $(RESOBJ)
 | 
|---|
| 30 |         cd ./Res/001 && make
 | 
|---|
| 31 |         cd ./Res/049 && make
 | 
|---|
| 32 | #       icc $(ICCFLAGS) -I$(INC) volume.c  MMPM2.lib volume.def
 | 
|---|
| 33 |         gcc $(CPPFLAGS) -I$(INC) volume.c $(OBJECTS) -Zmtd -los2me volume.def
 | 
|---|
| 34 |         rc ./Res/049/volume049.res volume.exe
 | 
|---|
| 35 | 
 | 
|---|
| 36 | 
 | 
|---|
| 37 | 
 | 
|---|
| 38 | %.obj:  %.c
 | 
|---|
| 39 |         gcc -c -Wall -o$@ -Zomf -I$(INC) $<  
 | 
|---|
| 40 | 
 | 
|---|
| 41 | 
 | 
|---|
| 42 | clean:
 | 
|---|
| 43 |         -rm *.exe
 | 
|---|
| 44 |         -rm *.o
 | 
|---|
| 45 |         -rm *.obj
 | 
|---|
| 46 |         -cd $(HELPERDIR) && make clean
 | 
|---|
| 47 | 
 | 
|---|
| 48 | cleaner:
 | 
|---|
| 49 |         -rm *.*~
 | 
|---|
| 50 |         -rm *.flc
 | 
|---|
| 51 |         -cd $(HELPERDIR) && make cleaner
 | 
|---|
| 52 | 
 | 
|---|
| 53 | 
 | 
|---|
| 54 | distribution:
 | 
|---|
| 55 |         
 | 
|---|
| 56 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.