|
Last change
on this file since 189 was 148, checked in by gyoung, 21 months ago |
|
Automate building of all def files. Some minor code and makefile cleanup
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 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
|
|---|
| 11 | DEFS =
|
|---|
| 12 | OBJDIR = ../dll
|
|---|
| 13 |
|
|---|
| 14 | OBJECTS = $(INC)\mmres.h mmres$(LANGUAGE).rc \
|
|---|
| 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 \
|
|---|
| 19 | cwaudio$(LANGUAGE).rc cwaudio$(LANGUAGE).dlg \
|
|---|
| 20 | cwimage$(LANGUAGE).rc cwvideo$(LANGUAGE).rc \
|
|---|
| 21 | mmfind$(LANGUAGE).dlg mmfind$(LANGUAGE).rc
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | all: $(OBJDIR)/mmres$(LANGUAGE).dll
|
|---|
| 25 |
|
|---|
| 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
|
|---|
| 29 | rc -D $(ECS) -i $(INC) mmres$(LANGUAGE).rc $(OBJDIR)/mmres$(LANGUAGE).dll
|
|---|
| 30 | rc -r -D $(ECS) -i $(INC) mmres$(LANGUAGE).rc $(OBJDIR)/mmres$(LANGUAGE).res
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 | restest:
|
|---|
| 34 | echo $(deftext)> test.def
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 | clean:
|
|---|
| 38 | -rm $(OBJDIR)/*.obj
|
|---|
| 39 | -rm $(OBJDIR)/*.dll
|
|---|
| 40 | -rm $(OBJDIR)/*.res
|
|---|
| 41 | -rm *.*~
|
|---|
| 42 | -rm *.flc
|
|---|
| 43 | -rm *.RES
|
|---|
| 44 | -rm *.obj
|
|---|
| 45 | -rm *.def
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.