source: trunk/classes/mm-progs/imageconverter/makefile@ 201

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

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

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