Changeset 3031 for trunk/src/dllentry/makefile
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/dllentry/makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dllentry/makefile
r2712 r3031 1 # $Id: makefile,v 1. 3 2000-02-09 23:46:55 bird Exp $1 # $Id: makefile,v 1.4 2000-03-06 23:38:35 bird Exp $ 2 2 3 3 # 4 # PD-Win32 API4 # Odin32 API 5 5 # 6 6 # dllentry library makefile 7 7 # 8 8 9 # Directory macros. 9 10 PDWIN32_INCLUDE = ..\..\include 10 PDWIN32_LIB = ..\..\lib11 PDWIN32_BIN = ..\..\bin12 PDWIN32_TOOLS = ..\..\tools\bin11 PDWIN32_LIB = ..\..\lib 12 PDWIN32_BIN = ..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\tools\bin 13 14 15 16 # Compiler, tools, and interference rules. 14 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 15 18 16 19 17 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 18 C XXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)20 # Flag overloads and local macros. 21 CLEANEXTRAS = lz32rsrc.asm 19 22 20 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. 21 30 TARGET = dllentry 22 31 23 all: $(PDWIN32_LIB)\$(TARGET).obj24 32 25 $(PDWIN32_LIB)\$(TARGET).obj: dllentry.obj 26 $(CP) $(TARGET).obj $(PDWIN32_LIB) 33 # All rule - build objs and copies obj to lib. 34 all: $(OBJDIR) $(PDWIN32_LIB)\$(TARGET).obj 27 35 28 lib: $(PDWIN32_LIB)\$(TARGET).obj29 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. 30 47 dep: 31 48 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 32 49 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 33 50 34 !ifndef NODEP35 !include .depend36 !endif37 51 52 # Includes the common rules. 53 !include $(PDWIN32_INCLUDE)/pdwin32.post 38 54 39 clean:40 $(RM) *.obj $(PDWIN32_LIB)\$(TARGET).obj *.pch41
Note:
See TracChangeset
for help on using the changeset viewer.
