source: trunk/src/dllentry/makefile@ 4808

Last change on this file since 4808 was 4717, checked in by bird, 25 years ago

New makefile style. (addjustments)

File size: 850 bytes
Line 
1# $Id: makefile,v 1.7 2000-12-02 23:39:06 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 ../../makefile.inc
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) $(ODIN32_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$(ODIN32_LIB)\$(TARGET).obj: $(OBJS)
55 $(CP) $(OBJS) $@
56
57
58#
59# Includes the common rules.
60#
61!include $(ODIN32_POST_INC)
62
Note: See TracBrowser for help on using the repository browser.