Last change
on this file was 148, checked in by gyoung, 20 months ago |
Automate building of all def files. Some minor code and makefile cleanup
|
File size:
711 bytes
|
Rev | Line | |
---|
[2] | 1 | # Makefile
|
---|
| 2 |
|
---|
| 3 | include ../../../make.inc
|
---|
| 4 |
|
---|
[4] | 5 | # MM-progs specific makefile include
|
---|
| 6 | include ../mmprog.inc
|
---|
[2] | 7 |
|
---|
[4] | 8 | OBJECTS = $(LIBDIR)/message.obj \
|
---|
| 9 | $(LIBDIR)/helper.obj \
|
---|
| 10 | $(LIBDIR)/menu_funcs.obj \
|
---|
| 11 | $(LIBDIR)/sys_funcs.obj
|
---|
| 12 | OBJS2 = customprocs.obj
|
---|
[2] | 13 |
|
---|
| 14 | all: classvol.exe
|
---|
| 15 |
|
---|
[4] | 16 | classvol.exe: classvol.c $(OBJECTS) $(OBJS2) makefile def.tpl
|
---|
[148] | 17 | cmd /C $(TOOLDIR)\create_def.cmd classvolume.def
|
---|
[2] | 18 | #Use this command to link dynamicaly
|
---|
[126] | 19 | $(CC) $(CPPFLAGS) -I$(INC) classvol.c $(OBJECTS) $(OBJS2) mmpm2.lib classvolume.def
|
---|
[2] | 20 | rc classvolume.rc classvol.exe
|
---|
| 21 |
|
---|
| 22 |
|
---|
[4] | 23 |
|
---|
[2] | 24 | clean:
|
---|
| 25 | -rm *.exe
|
---|
[4] | 26 | -rm *.dll
|
---|
[2] | 27 | -rm *.obj
|
---|
[133] | 28 | -rm *.RES
|
---|
[2] | 29 | -rm *.ini
|
---|
[126] | 30 | -rm $(LIBDIR)/*.obj
|
---|
[133] | 31 | -rm *.def
|
---|
[2] | 32 |
|
---|
| 33 | cleaner:
|
---|
| 34 | -rm *.*~
|
---|
| 35 | -rm *.flc
|
---|
| 36 |
|
---|
[4] | 37 |
|
---|
[2] | 38 | distribution:
|
---|
Note:
See
TracBrowser
for help on using the repository browser.