- Timestamp:
- Sep 28, 2000, 5:19:53 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dllentry/makefile
r3031 r4336 1 # $Id: makefile,v 1. 4 2000-03-06 23:38:35bird Exp $1 # $Id: makefile,v 1.5 2000-09-28 03:19:53 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 # Directory macros. 10 PDWIN32_INCLUDE = ..\..\include 11 PDWIN32_LIB = ..\..\lib 12 PDWIN32_BIN = ..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\tools\bin 9 10 # For the time being 11 NEW_STYLE = 1 14 12 15 13 16 # Compiler, tools, and interference rules. 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 14 # We have our own rules 15 NO_ALL_RULE = 1 16 NO_LIB_RULE = 1 17 NO_DLL_RULE = 1 18 NO_LNK_RULE = 1 18 19 19 20 20 # Flag overloads and local macros. 21 CLEANEXTRAS = lz32rsrc.asm 21 # 22 # Compiler, tools, and interference rules. 23 # 24 !include ../../include/pdwin32.mk 22 25 23 26 27 # 24 28 # Object files. All objects should be prefixed with $(OBJDIR)! 29 # 25 30 OBJS = \ 26 31 $(OBJDIR)\dllentry.obj 27 32 28 33 34 # 29 35 # Target name - name of the obj without extention and path. 36 # NB. Watcom will need it's own target... 37 # 38 !ifndef WAT 30 39 TARGET = dllentry 40 !else 41 TARGET = dllentry_watcom 42 !endif 31 43 32 44 45 # 33 46 # All rule - build objs and copies obj to lib. 47 # 34 48 all: $(OBJDIR) $(PDWIN32_LIB)\$(TARGET).obj 35 49 36 50 51 # 37 52 # Lib rule - same as all. 53 # 38 54 lib: all 39 55 … … 41 57 # Build objs and copies obj to lib. 42 58 $(PDWIN32_LIB)\$(TARGET).obj: $(OBJS) 43 $(CP) $(OBJS) $ (PDWIN32_LIB)59 $(CP) $(OBJS) $@ 44 60 45 61 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 62 # 52 63 # Includes the common rules. 64 # 53 65 !include $(PDWIN32_INCLUDE)/pdwin32.post 54 66
Note:
See TracChangeset
for help on using the changeset viewer.