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

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