source: trunk/src/dllentry/makefile@ 6502

Last change on this file since 6502 was 4824, checked in by bird, 25 years ago

Ifed and hid the createpath statement.

File size: 898 bytes
Line 
1# $Id: makefile,v 1.9 2000-12-17 03:37:33 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#
33TARGET = dllentry
34
35
36#
37# All rule - build objs and copies obj to lib.
38#
39all: $(OBJDIR) \
40 $(ODIN32_LIB) \
41 $(ODIN32_LIB)\$(TARGET).obj
42
43
44#
45# Lib rule - same as all.
46#
47lib: all
48
49
50# Build objs and copies obj to lib.
51$(ODIN32_LIB)\$(TARGET).obj: $(OBJS)
52 $(CP) $(OBJS) $@
53
54
55# Create lib directory.
56$(ODIN32_LIB):
57 @if not exist $(ODIN32_LIB) $(CREATEPATH) $(ODIN32_LIB)
58
59
60#
61# Includes the common rules.
62#
63!include $(ODIN32_POST_INC)
64
Note: See TracBrowser for help on using the repository browser.