source: trunk/src/kernel32/test/makefile.wat@ 10367

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
12INCLUDES = $(WATCOM)\h;$(WATCOM)\h\nt;$(ODIN32_INCLUDE)
13
14RC = $(WATCOM)\binw\wrc.exe
15RCFLAGS = -bt=nt -I. -I$(INCLUDES)
16
17CXX = wcc386
18CXXFLAGS = -w4 -I$(INCLUDES) -bt=nt -d2
19
20CXX = wpp386
21CXXFLAGS = -w4 -I$(INCLUDES) -bt=nt -d2
22
23LD = wlink
24
25OBJS = winmain.objw \
26 kernel32test.objw \
27 resources.objw \
28 testlib.objw
29
30FILEOBJS = \
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
48TARGET = kernel32testw
49
50
51all: $(TARGET).exe
52
53
54$(TARGET).exe: $(OBJS) rsrc.res
55 $(LD) @<<
56name $@
57system nt
58debug All
59libpath $(WATCOM)\lib386
60libpath $(WATCOM)\lib386\nt
61$(FILEOBJS)
62<<
63 $(RC) rsrc.res $@
64
65rsrc.res: rsrc.rc rsrc.h
66 $(RC) -r $(RCFLAGS) $(*B).rc $@
67
68clean:
69 $(RM) *.OBJ $(TARGET).exe rsrc.res $(TARGET).map *.pch
70
Note: See TracBrowser for help on using the repository browser.