source: cmedia/trunk/Cmpci/makefile.os2@ 354

Last change on this file since 354 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 1.3 KB
Line 
1CINCLUDES = $(%WATCOM)\H;..\include;..\runtime;..\sblive
2AINCLUDES = $(%DDK)\BASE\H
3
4CDEFINES = -D__KERNEL__ -DMODULE -DTARGET_OS2
5
632BIT=1
7!include ..\makefile.inc
8!include ..\include\sblive32.mak
9
10
11#===================================================================
12#
13# List of source files
14#
15#===================================================================
16FILE1 = cmpci.obj
17FILE2 =
18FILE3 =
19FILE4 =
20FILE5 =
21FILE6 =
22FILE7 =
23FILE8 =
24FILELAST =
25FILES = $(FILE0) $(FILE1) $(FILE2) $(FILE3) $(FILE4) $(FILE5) $(FILE6) $(FILE7) $(FILE8) $(FILE9)
26
27!if "$(KEE)" == "1"
28TARGET = cmpci32kee
29!else
30TARGET = cmpci32
31!endif
32
33LNKFILE = $(OBJDIR)\$(TARGET).lnk
34
35
36#===================================================================
37#
38# Specific dependencies
39#
40#===================================================================
41all: $(OBJDIR)\$(TARGET).lib
42
43
44$(LNKFILE): makefile.os2
45 @%create $(LNKFILE)
46 @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
47
48$(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
49 $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
50 copy $(OBJDIR)\$(TARGET).lib $(SBLIVE_LIB)
51
52
53clean:
54 cd $(OBJDIR)
55 del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lib
56 cd ..
Note: See TracBrowser for help on using the repository browser.