Ignore:
Timestamp:
Oct 29, 2023, 11:01:57 PM (22 months ago)
Author:
gyoung
Message:

Changes to build players and related cwmm class exe using VAC 3.08

File:
1 edited

Legend:

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

    r53 r126  
    33include ../../../make.inc
    44
    5 CC           = gcc
     5CC           = icc
    66LIB_DIR      = $d:/emx/lib
    77#CPPFLAGS     = -Ge- /Gm+ -G4 -Gl  /O+ -Oc+ -Ol
    88#CPPFLAGS     = -O -Zomf -Zcrtdll -Zmtd -s
    9 CPPFLAGS     = -O -Wall -Zomf -Zmt -s
     9#CPPFLAGS     = -O -Wall -Zomf -Zmt -s
     10CPPFLAGS        =  -Ge+ /Gm+ -G5 /Ss -Gl /O+ -Oc+ -Ol- /Q+
    1011INC             = ../include -I ../../../classes/inc -I ../../../common_functions/include
    1112DEFS         =
     
    2122
    2223$(LIBDIR)/%.obj:        $(COMMONSRC)/%.c
    23         gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
    24 
     24#       gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
     25        $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
    2526%.obj:  %.c
    26         gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
    27 
     27#       gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
     28        $(CC) $(CPPFLAGS) /C -I$(INC) /Fo$@ $<
    2829mmplayer.exe:   mmplayer.c $(OBJECTS) $(OBJS2) makefile
    2930#Use this command to link dynamicaly
    30         gcc $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) -lmmpm2.lib mmplayer.def
     31        $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) mmpm2.lib mmplayer.def
    3132        rc mmplayer.rc mmplayer.exe
    3233
    3334vioplayer.exe:  vioplayer.c
    34         gcc $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj -lmmpm2.lib mmplayer.def
     35        $(CC) $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj mmpm2.lib mmplayer.def
    3536
    3637clean:
Note: See TracChangeset for help on using the changeset viewer.