|
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
|
| Rev | Line | |
|---|
| [2] | 1 | # Makefile
|
|---|
| 2 |
|
|---|
| 3 | include ../../../make.inc
|
|---|
| [4] | 4 | include ../mmprog.inc
|
|---|
| [2] | 5 |
|
|---|
| [4] | 6 | OBJECTS = $(LIBDIR)/message.obj \
|
|---|
| 7 | $(LIBDIR)/helper.obj \
|
|---|
| 8 | $(LIBDIR)/progbars.obj \
|
|---|
| 9 | $(LIBDIR)/sys_funcs.obj
|
|---|
| [2] | 10 |
|
|---|
| 11 | all: imgconv.exe
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | imgconv.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 |
|
|---|
| 19 | clean:
|
|---|
| 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 |
|
|---|
| 27 | cleaner:
|
|---|
| 28 | -rm *.*~
|
|---|
| 29 | -rm *.flc
|
|---|
| 30 |
|
|---|
| [4] | 31 |
|
|---|
| [2] | 32 | distribution:
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.