|
Last change
on this file since 4706 was 4654, checked in by bird, 25 years ago |
|
Addopted makestyle new style. common.lib goes into $(OBJDIR).
|
|
File size:
907 bytes
|
| Line | |
|---|
| 1 | # $Id: common.mk,v 1.3 2000-11-21 04:37:22 bird Exp $
|
|---|
| 2 | #
|
|---|
| 3 | # Common definitions for tools.
|
|---|
| 4 | #
|
|---|
| 5 | # Requires that PDWIN32_TCOMMON is defined to point to the
|
|---|
| 6 | # /tools/common directory
|
|---|
| 7 | #
|
|---|
| 8 | #
|
|---|
| 9 | # Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
|
|---|
| 10 | #
|
|---|
| 11 | # Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 12 | #
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 | #
|
|---|
| 16 | # Make a suggestion of which common.<a|lib> library to use.
|
|---|
| 17 | # Not defined OMF indicates VAC or Watcom.
|
|---|
| 18 | # OMF=0 indicates GCC+aout
|
|---|
| 19 | # OMF=1 indicates GCC+OMF
|
|---|
| 20 | #
|
|---|
| 21 | !ifndef GCC
|
|---|
| 22 | COMMONLIB = $(PDWIN32_TCOMMON)\$(OBJDIR)\common.lib
|
|---|
| 23 | !else
|
|---|
| 24 | !if $(OMF) == 0
|
|---|
| 25 | COMMONLIB = $(PDWIN32_TCOMMON)\$(OBJDIR)\common.a
|
|---|
| 26 | !else
|
|---|
| 27 | COMMONLIB = $(PDWIN32_TCOMMON)\$(OBJDIR)\common.lib
|
|---|
| 28 | !endif
|
|---|
| 29 | !endif
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | #
|
|---|
| 33 | # Add PDWIN32_TCOMMON to the C and C++ includes.
|
|---|
| 34 | #
|
|---|
| 35 | CINCLUDES = -I$(PDWIN32_TCOMMON) $(CINCLUDES)
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | #
|
|---|
| 39 | # No internal libs cause we define our own internal libs.
|
|---|
| 40 | #
|
|---|
| 41 | NO_INTERNAL_LIBS = 1
|
|---|
| 42 | INTLIBS = $(COMMONLIB)
|
|---|
| 43 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.