Last change
on this file since 10367 was 4722, checked in by bird, 25 years ago |
New makefile style. (addjustments)
makefile.vac and makefile.smp are obsolete and therefore removed.
|
File size:
1.1 KB
|
Line | |
---|
1 | # $Id: makefile.wat,v 1.2 2000-12-03 00:34:40 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Odin32 API
|
---|
5 | #
|
---|
6 | # kernel32testw.exe makefile
|
---|
7 | #
|
---|
8 |
|
---|
9 | !error "this don't work"
|
---|
10 | !include ../../../makefile.inc
|
---|
11 |
|
---|
12 | INCLUDES = $(WATCOM)\h;$(WATCOM)\h\nt;$(ODIN32_INCLUDE)
|
---|
13 |
|
---|
14 | RC = $(WATCOM)\binw\wrc.exe
|
---|
15 | RCFLAGS = -bt=nt -I. -I$(INCLUDES)
|
---|
16 |
|
---|
17 | CXX = wcc386
|
---|
18 | CXXFLAGS = -w4 -I$(INCLUDES) -bt=nt -d2
|
---|
19 |
|
---|
20 | CXX = wpp386
|
---|
21 | CXXFLAGS = -w4 -I$(INCLUDES) -bt=nt -d2
|
---|
22 |
|
---|
23 | LD = wlink
|
---|
24 |
|
---|
25 | OBJS = winmain.objw \
|
---|
26 | kernel32test.objw \
|
---|
27 | resources.objw \
|
---|
28 | testlib.objw
|
---|
29 |
|
---|
30 | FILEOBJS = \
|
---|
31 | file winmain.objw \
|
---|
32 | file kernel32test.objw \
|
---|
33 | file resources.objw \
|
---|
34 | file testlib.objw
|
---|
35 |
|
---|
36 |
|
---|
37 | #
|
---|
38 | # Interference rules
|
---|
39 | #
|
---|
40 | .c.objw:
|
---|
41 | $(CC) $(CFLAGS) -Fo=$@ $<
|
---|
42 |
|
---|
43 | .cpp.objw:
|
---|
44 | $(CXX) $(CXXFLAGS) -Fo=$@ $<
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 | TARGET = kernel32testw
|
---|
49 |
|
---|
50 |
|
---|
51 | all: $(TARGET).exe
|
---|
52 |
|
---|
53 |
|
---|
54 | $(TARGET).exe: $(OBJS) rsrc.res
|
---|
55 | $(LD) @<<
|
---|
56 | name $@
|
---|
57 | system nt
|
---|
58 | debug All
|
---|
59 | libpath $(WATCOM)\lib386
|
---|
60 | libpath $(WATCOM)\lib386\nt
|
---|
61 | $(FILEOBJS)
|
---|
62 | <<
|
---|
63 | $(RC) rsrc.res $@
|
---|
64 |
|
---|
65 | rsrc.res: rsrc.rc rsrc.h
|
---|
66 | $(RC) -r $(RCFLAGS) $(*B).rc $@
|
---|
67 |
|
---|
68 | clean:
|
---|
69 | $(RM) *.OBJ $(TARGET).exe rsrc.res $(TARGET).map *.pch
|
---|
70 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.