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

Last change on this file since 188 was 148, checked in by gyoung, 22 months ago

Automate building of all def files. Some minor code and makefile cleanup

File size: 546 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
10include ../mmprog.inc
11
12
13all: audconv.exe
14
15
16audconv.exe: audconv.c $(OBJECTS) makefile def.tpl
17 cmd /C $(TOOLDIR)/create_def.cmd audconv.def
18 $(CC) $(CPPFLAGS) -I$(INC) audconv.c $(OBJECTS) mmpm2.lib audconv.def
19
20
21clean:
22 -rm *.exe
23 -rm *.dll
24 -rm *.obj
25 -rm *.RES
26 -rm *.ini
27 -rm *.def
28
29cleaner:
30 -rm *.*~
31 -rm *.flc
32
33
34distribution:
35 -cp *.exe ../../dist/bin
Note: See TracBrowser for help on using the repository browser.