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/imageconverter/makefile

    r2 r4  
    22
    33include ../../../make.inc
     4include ../mmprog.inc
    45
    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)/progbars.obj $(LIBDIR)/sys_funcs.obj
     6OBJECTS =       $(LIBDIR)/message.obj \
     7                $(LIBDIR)/helper.obj \
     8                $(LIBDIR)/progbars.obj \
     9                $(LIBDIR)/sys_funcs.obj
    1710
    1811all:    imgconv.exe
    1912
    20 $(LIBDIR)/%.obj:        $(COMMONSRC)/%.c
    21         gcc -c -o$@ -Zomf -I$(INC) $< 
    2213
    2314imgconv.exe:    imgconv.c $(OBJECTS)
     15        cmd /C $(TOOLDIR)\create_MMPROG_def.cmd imgconv.def
    2416#Use this command to link dynamicaly
    25 #       gcc $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) -Zmtd -los2me imgconv.def
    26         gcc $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) -los2me imgconv.def
     17        $(CC) $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) -los2me imgconv.def
    2718
    2819clean:
    2920        -rm *.exe
     21        -rm *.dll
    3022        -rm *.obj
     23        -rm *.res
     24        -rm *.ini
    3125
    3226cleaner:
     
    3428        -rm *.flc
    3529
     30
    3631distribution:
    37        
    38 
Note: See TracChangeset for help on using the changeset viewer.