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:
1.2 KB
|
Rev | Line | |
---|
[2] | 1 | # Makefile for CWMM resource dll
|
---|
| 2 |
|
---|
| 3 | include ../../../make.inc
|
---|
| 4 | include ../../../build.inc
|
---|
| 5 |
|
---|
| 6 | LANGUAGE = _en
|
---|
| 7 |
|
---|
| 8 | CC = icc
|
---|
| 9 | CPPFLAGS = /Ge- /Gm+ /G4 /Gl /O+ /Oc+ /Ol- /Q+ $(VACDEBUG)
|
---|
| 10 | INC = ../../inc
|
---|
[133] | 11 | DEFS =
|
---|
[2] | 12 | OBJDIR = ../dll
|
---|
| 13 |
|
---|
[148] | 14 | OBJECTS = $(INC)\mmres.h mmres$(LANGUAGE).rc \
|
---|
[2] | 15 | audioplayer$(LANGUAGE).dlg audioplayer$(LANGUAGE).rc \
|
---|
| 16 | audioconv$(LANGUAGE).dlg audioconv$(LANGUAGE).rc \
|
---|
| 17 | volume$(LANGUAGE).rc volume$(LANGUAGE).dlg \
|
---|
| 18 | imageconv$(LANGUAGE).dlg imageconv$(LANGUAGE).rc \
|
---|
[148] | 19 | cwaudio$(LANGUAGE).rc cwaudio$(LANGUAGE).dlg \
|
---|
| 20 | cwimage$(LANGUAGE).rc cwvideo$(LANGUAGE).rc \
|
---|
| 21 | mmfind$(LANGUAGE).dlg mmfind$(LANGUAGE).rc
|
---|
[2] | 22 |
|
---|
[148] | 23 |
|
---|
[2] | 24 | all: $(OBJDIR)/mmres$(LANGUAGE).dll
|
---|
| 25 |
|
---|
[148] | 26 | $(OBJDIR)/mmres$(LANGUAGE).dll: mmres$(LANGUAGE).c $(OBJECTS)
|
---|
| 27 | cmd /C $(TOOLDIR)/create_def.cmd mmres$(LANGUAGE).def
|
---|
| 28 | icc $(CPPFLAGS) -I$(INC) /Fe$(OBJDIR)\$@ $< mmres$(LANGUAGE).def
|
---|
[2] | 29 | rc -D $(ECS) -i $(INC) mmres$(LANGUAGE).rc $(OBJDIR)/mmres$(LANGUAGE).dll
|
---|
[148] | 30 | rc -r -D $(ECS) -i $(INC) mmres$(LANGUAGE).rc $(OBJDIR)/mmres$(LANGUAGE).res
|
---|
[2] | 31 |
|
---|
| 32 |
|
---|
[148] | 33 | restest:
|
---|
| 34 | echo $(deftext)> test.def
|
---|
[2] | 35 |
|
---|
| 36 |
|
---|
| 37 | clean:
|
---|
| 38 | -rm $(OBJDIR)/*.obj
|
---|
| 39 | -rm $(OBJDIR)/*.dll
|
---|
[148] | 40 | -rm $(OBJDIR)/*.res
|
---|
[2] | 41 | -rm *.*~
|
---|
| 42 | -rm *.flc
|
---|
[133] | 43 | -rm *.RES
|
---|
[2] | 44 | -rm *.obj
|
---|
[148] | 45 | -rm *.def
|
---|
[2] | 46 |
|
---|
| 47 |
|
---|
| 48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.