Last change
on this file was 191, checked in by gyoung, 14 months ago |
Make pmprintf.lib easy to select when needed
|
File size:
773 bytes
|
Line | |
---|
1 | # Makefile
|
---|
2 |
|
---|
3 | include ../../../make.inc
|
---|
4 | include ../mmprog.inc
|
---|
5 |
|
---|
6 | OBJECTS = $(LIBDIR)/message.obj \
|
---|
7 | $(LIBDIR)/helper.obj \
|
---|
8 | $(LIBDIR)/menu_funcs.obj \
|
---|
9 | $(LIBDIR)/sys_funcs.obj
|
---|
10 | OBJS2 = customprocs.obj playaudio.obj display.obj
|
---|
11 |
|
---|
12 | PMPRINTF = 0
|
---|
13 | ifdef PMPRINTF
|
---|
14 | LIBS = mmpm2.lib pmprintf.lib
|
---|
15 | else
|
---|
16 | LIBS = mmpm2.lib
|
---|
17 | endif
|
---|
18 | all: mmplayer.exe
|
---|
19 |
|
---|
20 |
|
---|
21 | mmplayer.exe: mmplayer.c $(OBJECTS) $(OBJS2) makefile def.tpl
|
---|
22 | cmd /C $(TOOLDIR)\create_def.cmd mmplayer.def
|
---|
23 | #Use this command to link dynamicaly
|
---|
24 | $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) $(LIBS) mmplayer.def
|
---|
25 | rc mmplayer.rc mmplayer.exe
|
---|
26 |
|
---|
27 |
|
---|
28 | clean:
|
---|
29 | -rm *.exe
|
---|
30 | -rm *.dll
|
---|
31 | -rm *.obj
|
---|
32 | -rm *.RES
|
---|
33 | -rm *.ini
|
---|
34 | -rm *.def
|
---|
35 |
|
---|
36 | cleaner:
|
---|
37 | -rm *.*~
|
---|
38 | -rm *.flc
|
---|
39 |
|
---|
40 | distribution:
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.