source: trunk/classes/mm-progs/MMPlayer/makefile@ 146

Last change on this file since 146 was 133, checked in by gyoung, 22 months ago

Merge Lar's 2.9 branch into the trunk

File size: 673 bytes
Line 
1# Makefile
2
3include ../../../make.inc
4include ../mmprog.inc
5
6OBJECTS = $(LIBDIR)/message.obj \
7 $(LIBDIR)/helper.obj \
8 $(LIBDIR)/menu_funcs.obj \
9 $(LIBDIR)/sys_funcs.obj
10OBJS2 = customprocs.obj playaudio.obj display.obj
11
12
13all: mmplayer.exe
14
15
16mmplayer.exe: mmplayer.c $(OBJECTS) $(OBJS2) makefile def.tpl
17 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd mmplayer.def
18#Use this command to link dynamicaly
19 $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) mmpm2.lib mmplayer.def
20 rc mmplayer.rc mmplayer.exe
21
22
23clean:
24 -rm *.exe
25 -rm *.dll
26 -rm *.obj
27 -rm *.RES
28 -rm *.ini
29 -rm *.def
30
31cleaner:
32 -rm *.*~
33 -rm *.flc
34
35distribution:
36
37
Note: See TracBrowser for help on using the repository browser.