|
Last change
on this file 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 |
|
|---|
| 3 | include ../../../make.inc
|
|---|
| 4 | include ../mmprog.inc
|
|---|
| 5 |
|
|---|
| 6 | LIBOBJECTS = $(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 |
|
|---|
| 14 | OBJECTS = image.obj
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | all: mmfind.exe
|
|---|
| 18 |
|
|---|
| 19 | mmfind.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 |
|
|---|
| 25 | clean:
|
|---|
| 26 | -rm *.exe
|
|---|
| 27 | -rm *.dll
|
|---|
| 28 | -rm *.obj
|
|---|
| 29 | -rm *.RES
|
|---|
| 30 | -rm *.ini
|
|---|
| 31 | -rm *.def
|
|---|
| 32 |
|
|---|
| 33 | cleaner:
|
|---|
| 34 | -rm *.*~
|
|---|
| 35 | -rm *.flc
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | distribution:
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.