Last change
on this file since 3669 was 3031, checked in by bird, 26 years ago |
Makefiles are updated to new style.
Odin32 resource files are renamed to *.orc and most have changed name to avoid
name clashes for object files.
|
File size:
1.0 KB
|
Line | |
---|
1 | # $Id: makefile,v 1.4 2000-03-06 23:38:35 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Odin32 API
|
---|
5 | #
|
---|
6 | # dllentry library makefile
|
---|
7 | #
|
---|
8 |
|
---|
9 | # Directory macros.
|
---|
10 | PDWIN32_INCLUDE = ..\..\include
|
---|
11 | PDWIN32_LIB = ..\..\lib
|
---|
12 | PDWIN32_BIN = ..\..\$(OBJDIR)
|
---|
13 | PDWIN32_TOOLS = ..\..\tools\bin
|
---|
14 |
|
---|
15 |
|
---|
16 | # Compiler, tools, and interference rules.
|
---|
17 | !include $(PDWIN32_INCLUDE)/pdwin32.mk
|
---|
18 |
|
---|
19 |
|
---|
20 | # Flag overloads and local macros.
|
---|
21 | CLEANEXTRAS = lz32rsrc.asm
|
---|
22 |
|
---|
23 |
|
---|
24 | # Object files. All objects should be prefixed with $(OBJDIR)!
|
---|
25 | OBJS = \
|
---|
26 | $(OBJDIR)\dllentry.obj
|
---|
27 |
|
---|
28 |
|
---|
29 | # Target name - name of the obj without extention and path.
|
---|
30 | TARGET = dllentry
|
---|
31 |
|
---|
32 |
|
---|
33 | # All rule - build objs and copies obj to lib.
|
---|
34 | all: $(OBJDIR) $(PDWIN32_LIB)\$(TARGET).obj
|
---|
35 |
|
---|
36 |
|
---|
37 | # Lib rule - same as all.
|
---|
38 | lib: all
|
---|
39 |
|
---|
40 |
|
---|
41 | # Build objs and copies obj to lib.
|
---|
42 | $(PDWIN32_LIB)\$(TARGET).obj: $(OBJS)
|
---|
43 | $(CP) $(OBJS) $(PDWIN32_LIB)
|
---|
44 |
|
---|
45 |
|
---|
46 | # Dep rule - makes depenencies for C, C++ and Asm files.
|
---|
47 | dep:
|
---|
48 | $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
|
---|
49 | *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
|
---|
50 |
|
---|
51 |
|
---|
52 | # Includes the common rules.
|
---|
53 | !include $(PDWIN32_INCLUDE)/pdwin32.post
|
---|
54 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.