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/MMPlayer/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)/menu_funcs.obj $(LIBDIR)/sys_funcs.obj
     6OBJECTS =       $(LIBDIR)/message.obj \
     7                $(LIBDIR)/helper.obj \
     8                $(LIBDIR)/menu_funcs.obj \
     9                $(LIBDIR)/sys_funcs.obj
    1710OBJS2           =        customprocs.obj playaudio.obj display.obj
    1811
     
    2013all:    mmplayer.exe
    2114
    22 $(LIBDIR)/%.obj:        $(COMMONSRC)/%.c
    23         gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
    2415
    25 %.obj:  %.c
    26         gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
    27 
    28 mmplayer.exe:   mmplayer.c $(OBJECTS) $(OBJS2) makefile
     16mmplayer.exe:   mmplayer.c $(OBJECTS) $(OBJS2) makefile def.tpl
     17        cmd /C $(TOOLDIR)\create_MMPROG_def.cmd mmplayer.def
    2918#Use this command to link dynamicaly
    30         gcc $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) -los2me mmplayer.def
     19        $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) -los2me mmplayer.def
    3120        rc mmplayer.rc mmplayer.exe
    3221
Note: See TracChangeset for help on using the changeset viewer.