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

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

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

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