source: trunk/src/dllentry/makefile@ 4384

Last change on this file since 4384 was 4336, checked in by bird, 25 years ago

New makefile style and Watcom.

File size: 907 bytes
Line 
1# $Id: makefile,v 1.5 2000-09-28 03:19:53 bird Exp $
2
3#
4# Odin32 API
5#
6# dllentry library makefile
7#
8
9
10# For the time being
11NEW_STYLE = 1
12
13
14# We have our own rules
15NO_ALL_RULE = 1
16NO_LIB_RULE = 1
17NO_DLL_RULE = 1
18NO_LNK_RULE = 1
19
20
21#
22# Compiler, tools, and interference rules.
23#
24!include ../../include/pdwin32.mk
25
26
27#
28# Object files. All objects should be prefixed with $(OBJDIR)!
29#
30OBJS = \
31$(OBJDIR)\dllentry.obj
32
33
34#
35# Target name - name of the obj without extention and path.
36# NB. Watcom will need it's own target...
37#
38!ifndef WAT
39TARGET = dllentry
40!else
41TARGET = dllentry_watcom
42!endif
43
44
45#
46# All rule - build objs and copies obj to lib.
47#
48all: $(OBJDIR) $(PDWIN32_LIB)\$(TARGET).obj
49
50
51#
52# Lib rule - same as all.
53#
54lib: all
55
56
57# Build objs and copies obj to lib.
58$(PDWIN32_LIB)\$(TARGET).obj: $(OBJS)
59 $(CP) $(OBJS) $@
60
61
62#
63# Includes the common rules.
64#
65!include $(PDWIN32_INCLUDE)/pdwin32.post
66
Note: See TracBrowser for help on using the repository browser.