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