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

Last change on this file was 148, checked in by gyoung, 19 months ago

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

File size: 664 bytes
Line 
1# Makefile
2
3include ../../../make.inc
4include ../mmprog.inc
5
6ICONDIR = ..\res\Icons
7OBJECTS = $(LIBDIR)/message.obj \
8 $(LIBDIR)/helper.obj \
9 $(LIBDIR)/progbars.obj \
10 $(LIBDIR)/sys_funcs.obj
11#OBJECTS = $(OBJDIR)/message.obj $(OBJDIR)/helper.obj $(OBJDIR)/progbars.obj \
12 $(OBJDIR)/sys_funcs.obj
13
14all: volume.exe
15
16
17volume.exe: volume.c $(OBJECTS) makefile def.tpl
18 cmd /C $(TOOLDIR)\create_def.cmd volume.def
19 $(CC) $(CPPFLAGS) -I$(INC) volume.c $(OBJECTS) mmpm2.lib volume.def
20 rc -I $(INC) volume.rc volume.exe
21
22clean:
23 -rm *.exe
24 -rm *.obj
25 -rm *.RES
26 -rm *.ini
27 -rm *.def
28
29cleaner:
30 -rm *.*~
31 -rm *.flc
32
33
34distribution:
35
Note: See TracBrowser for help on using the repository browser.