source: trunk/classes/mm-progs/videoplayer/makefile@ 201

Last change on this file since 201 was 141, checked in by gyoung, 21 months ago

Merged changes from Lar's branch

File size: 1.3 KB
Line 
1# Makefile
2
3include ../../../make.inc
4
5CC = icc
6LIB_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 -s
10CPPFLAGS = -Ge+ /Gm+ -G5 /Ss -Gl /O+ -Oc+ -Ol- /Q+
11INC = ../include -I ../../../classes/inc -I ../../../common_functions/include
12DEFS =
13PROGS =
14ODIR = .
15CPPDIR = .
16LIBDIR = ../lib
17OBJECTS = $(LIBDIR)/message.obj $(LIBDIR)/helper.obj $(LIBDIR)/menu_funcs.obj $(LIBDIR)/sys_funcs.obj
18OBJS2 = customprocs.obj playaudio.obj display.obj
19
20
21all: mmplayer.exe vioplayer.exe
22
23$(LIBDIR)/%.obj: $(COMMONSRC)/%.c
24# gcc -c -Wall -o$@ -Zomf -I$(INC) $<
25 $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
26%.obj: %.c
27# gcc -c -Wall -o$@ -Zomf -I$(INC) $<
28 $(CC) $(CPPFLAGS) /C -I$(INC) /Fo$@ $<
29mmplayer.exe: mmplayer.c $(OBJECTS) $(OBJS2) makefile
30#Use this command to link dynamicaly
31 $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) mmpm2.lib mmplayer.def
32 rc mmplayer.rc mmplayer.exe
33
34vioplayer.exe: vioplayer.c
35 $(CC) $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj mmpm2.lib mmplayer.def
36
37clean:
38 -rm *.exe
39 -rm *.dll
40 -rm *.obj
41 -rm *.RES
42 -rm *.ini
43 -rm *.def
44
45cleaner:
46 -rm *.*~
47 -rm *.flc
48
49distribution:
50
51
Note: See TracBrowser for help on using the repository browser.