Line | |
---|
1 | # $Id: makefile,v 1.10 2001-08-16 04:07:46 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Odin32 API
|
---|
5 | #
|
---|
6 | # dllentry library makefile
|
---|
7 | #
|
---|
8 |
|
---|
9 |
|
---|
10 | # We have our own rules
|
---|
11 | NO_ALL_RULE = 1
|
---|
12 | NO_LIB_RULE = 1
|
---|
13 | NO_MAIN_RULE = 1
|
---|
14 | NO_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 | #
|
---|
26 | OBJS = \
|
---|
27 | $(OBJDIR)\dllentry.obj
|
---|
28 |
|
---|
29 |
|
---|
30 | #
|
---|
31 | # Target name - name of the obj without extention and path.
|
---|
32 | #
|
---|
33 | TARGET = dllentry
|
---|
34 |
|
---|
35 |
|
---|
36 | #
|
---|
37 | # All rule - build objs and copies obj to lib.
|
---|
38 | #
|
---|
39 | all: $(OBJDIR) \
|
---|
40 | $(ODIN32_LIB) \
|
---|
41 | $(ODIN32_LIB)\$(TARGET).obj
|
---|
42 |
|
---|
43 |
|
---|
44 | #
|
---|
45 | # Lib rule - same as all.
|
---|
46 | #
|
---|
47 | lib: all
|
---|
48 |
|
---|
49 |
|
---|
50 | # Build objs and copies obj to lib.
|
---|
51 | $(ODIN32_LIB)\$(TARGET).obj: $(OBJS)
|
---|
52 | $(CMDQD_WAIT)
|
---|
53 | $(CP) $(OBJS) $@
|
---|
54 |
|
---|
55 |
|
---|
56 | # Create lib directory.
|
---|
57 | $(ODIN32_LIB):
|
---|
58 | @if not exist $(ODIN32_LIB) $(CREATEPATH) $(ODIN32_LIB)
|
---|
59 |
|
---|
60 |
|
---|
61 | #
|
---|
62 | # Includes the common rules.
|
---|
63 | #
|
---|
64 | !include $(ODIN32_POST_INC)
|
---|
65 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.