source: trunk/classes/mm-progs/mmfind/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: 713 bytes
RevLine 
[2]1# Makefile
2
3include ../../../make.inc
[4]4include ../mmprog.inc
[2]5
[4]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
[2]12
13
[133]14OBJECTS = image.obj
[2]15
16
[4]17all: mmfind.exe
[2]18
[4]19mmfind.exe: mmfind.c $(LIBOBJECTS) $(OBJECTS) makefile mmfind.rc def.tpl
[2]20#Use this command to link dynamicaly
[148]21 cmd /C $(TOOLDIR)\create_def.cmd mmfind.def
[126]22 icc $(CPPFLAGS) -I$(INC) mmfind.c $(LIBOBJECTS) $(OBJECTS) mmpm2.lib rexx.lib mmfind.def
[4]23 rc mmfind.rc mmfind.exe
[2]24
25clean:
26 -rm *.exe
27 -rm *.dll
28 -rm *.obj
[133]29 -rm *.RES
[2]30 -rm *.ini
[133]31 -rm *.def
[2]32
33cleaner:
34 -rm *.*~
35 -rm *.flc
36
[4]37
[2]38distribution:
Note: See TracBrowser for help on using the repository browser.