| Line | |
|---|
| 1 | # $Id: makefile,v 1.5 2000-09-28 03:19:53 bird Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # Odin32 API
|
|---|
| 5 | #
|
|---|
| 6 | # dllentry library makefile
|
|---|
| 7 | #
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | # For the time being
|
|---|
| 11 | NEW_STYLE = 1
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 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
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | #
|
|---|
| 22 | # Compiler, tools, and interference rules.
|
|---|
| 23 | #
|
|---|
| 24 | !include ../../include/pdwin32.mk
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 | #
|
|---|
| 28 | # Object files. All objects should be prefixed with $(OBJDIR)!
|
|---|
| 29 | #
|
|---|
| 30 | OBJS = \
|
|---|
| 31 | $(OBJDIR)\dllentry.obj
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | #
|
|---|
| 35 | # Target name - name of the obj without extention and path.
|
|---|
| 36 | # NB. Watcom will need it's own target...
|
|---|
| 37 | #
|
|---|
| 38 | !ifndef WAT
|
|---|
| 39 | TARGET = dllentry
|
|---|
| 40 | !else
|
|---|
| 41 | TARGET = dllentry_watcom
|
|---|
| 42 | !endif
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 | #
|
|---|
| 46 | # All rule - build objs and copies obj to lib.
|
|---|
| 47 | #
|
|---|
| 48 | all: $(OBJDIR) $(PDWIN32_LIB)\$(TARGET).obj
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | #
|
|---|
| 52 | # Lib rule - same as all.
|
|---|
| 53 | #
|
|---|
| 54 | lib: all
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 | # Build objs and copies obj to lib.
|
|---|
| 58 | $(PDWIN32_LIB)\$(TARGET).obj: $(OBJS)
|
|---|
| 59 | $(CP) $(OBJS) $@
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 | #
|
|---|
| 63 | # Includes the common rules.
|
|---|
| 64 | #
|
|---|
| 65 | !include $(PDWIN32_INCLUDE)/pdwin32.post
|
|---|
| 66 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.