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

Last change on this file since 105 was 53, checked in by gyoung, 2 years ago

Make file changes to get it to build

File size: 663 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) -lmmpm2.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
30cleaner:
31 -rm *.*~
32 -rm *.flc
33
34distribution:
35
36
Note: See TracBrowser for help on using the repository browser.