Ignore:
Timestamp:
Jul 13, 2017, 5:17:57 AM (8 years ago)
Author:
stevenhl
Message:

Import modifications from cwmm-0_2_9-work-01_10_2006.zip dated 2006-08-27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/mm-progs/volume/makefile

    r2 r4  
    33include ../../../make.inc
    44
    5 CC           = gcc
    6 LIB_DIR      = $d:/emx/lib
    7 #CPPFLAGS     = -Ge- /Gm+ -G4 -Gl  /O+ -Oc+ -Ol
    8 #CPPFLAGS     = -O -Zomf -Zcrtdll -Zmtd -s
    9 CPPFLAGS     = -O -Wall -Zomf -Zmt -Zsys -s
    10 INC             = ../include -I ../../../classes/inc -I ../../../common_functions/include
    11 DEFS         =
    12 PROGS        = 
    13 ODIR            = .
    14 CPPDIR  = .
    15 LIBDIR  =       ../lib
    16 OBJECTS =       $(LIBDIR)/message.obj $(LIBDIR)/helper.obj $(LIBDIR)/menu_funcs.obj $(LIBDIR)/sys_funcs.obj
    17 OBJS2           =        customprocs.obj
    18 # display.obj
     5# MM-progs specific makefile include
     6include ../mmprog.inc
    197
     8OBJECTS         =       $(LIBDIR)/message.obj \
     9                        $(LIBDIR)/helper.obj \
     10                        $(LIBDIR)/menu_funcs.obj \
     11                        $(LIBDIR)/sys_funcs.obj
     12OBJS2           =       customprocs.obj
    2013
    2114all:    classvol.exe
    2215
    23 $(LIBDIR)/%.obj:        $(COMMONSRC)/%.c
    24         gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
    25 
    26 %.obj:  %.c
    27         gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
    28 
    29 classvol.exe:   classvol.c $(OBJECTS) $(OBJS2) makefile
     16classvol.exe:   classvol.c $(OBJECTS) $(OBJS2) makefile def.tpl
     17        cmd /C $(TOOLDIR)\create_MMPROG_def.cmd classvolume.def
    3018#Use this command to link dynamicaly
    31         gcc $(CPPFLAGS) -I$(INC) classvol.c $(OBJECTS) $(OBJS2) -los2me classvolume.def
     19        $(CC) $(CPPFLAGS) -I$(INC) classvol.c $(OBJECTS) $(OBJS2) -los2me classvolume.def
    3220        rc classvolume.rc classvol.exe
    3321
    3422
     23       
    3524clean:
    3625        -rm *.exe
     26        -rm *.dll
    3727        -rm *.obj
     28        -rm *.res
    3829        -rm *.ini
    39         -rm *.res
    4030
    4131cleaner:
     
    4333        -rm *.flc
    4434
     35
    4536distribution:
    46        
    47 
Note: See TracChangeset for help on using the changeset viewer.