source: trunk/src/dllentry/makefile@ 4652

Last change on this file since 4652 was 4624, checked in by bird, 25 years ago

New makefile style.

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