source: trunk/classes/mm-progs/audioconverter/makefile

Last change on this file was 198, checked in by gyoung, 11 months ago

Make PMPRINTF selectable

File size: 674 bytes
Line 
1# Makefile
2
3include ../../../make.inc
4
5OBJECTS = $(LIBDIR)/message.obj \
6 $(LIBDIR)/helper.obj \
7 $(LIBDIR)/progbars.obj \
8 $(LIBDIR)/sys_funcs.obj
9
10PMPRINTF = 0
11ifdef PMPRINTF
12LIBS = mmpm2.lib u:/pmprintf/pmprintf.lib
13else
14LIBS = mmpm2.lib
15endif
16
17include ../mmprog.inc
18
19
20all: audconv.exe
21
22
23audconv.exe: audconv.c $(OBJECTS) makefile def.tpl
24 cmd /C $(TOOLDIR)/create_def.cmd audconv.def
25 $(CC) $(CPPFLAGS) -I$(INC) audconv.c $(OBJECTS) $(LIBS) audconv.def
26
27
28clean:
29 -rm *.exe
30 -rm *.dll
31 -rm *.obj
32 -rm *.RES
33 -rm *.ini
34 -rm *.def
35
36cleaner:
37 -rm *.*~
38 -rm *.flc
39
40
41distribution:
42 -cp *.exe ../../dist/bin
Note: See TracBrowser for help on using the repository browser.