1 mike 1.2 TOP=..\..
2
3 OMIGEN=omigen.exe
4
5 CLASSES=TestSP_CAlC TestSP_Calc_Adv
6
7 all: generate compile
8
9 generate:
10 $(OMIGEN) schema.mof -a -y EntryPoint $(OPTS) $(CLASSES)
11
12
13 cpp: generate_cpp compile_cpp
14
15 generate_cpp:
16 $(OMIGEN) schema.mof -a --cpp $(OPTS) $(CLASSES)
17
18 INCLUDES = -I$(TOP)/common -I$(TOP)/common/windows
19
20 compile_cpp:
21 cl $(INCLUDES) -c *.cpp
22 mike 1.2
23 compile:
24 cl $(INCLUDES) -c *.c
25
26 clean:
27 - del *.obj *.h *.c *Class.cpp stubs.cpp module.cpp
28 - del *Provider.cpp
29
|