| Line | |
|---|
| 1 | # $Id: common.mak,v 1.4 2001-04-17 04:07:32 bird Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # Odin32 API
|
|---|
| 5 | #
|
|---|
| 6 | # common.lib makefile
|
|---|
| 7 | #
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | #
|
|---|
| 11 | # Tell buildenvironmet to build an object library.
|
|---|
| 12 | #
|
|---|
| 13 | LIBTARGET = 1
|
|---|
| 14 | EXETARGET = 1
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | #
|
|---|
| 18 | # Compiler, tools, and interference rules.
|
|---|
| 19 | #
|
|---|
| 20 | !include ../../makefile.inc
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | #
|
|---|
| 24 | # We use exception, so we'll have to enable them.
|
|---|
| 25 | #
|
|---|
| 26 | !ifndef WAT
|
|---|
| 27 | CXXFLAGS = $(CXXFLAGS) $(CXXEXCEPTIONS)
|
|---|
| 28 | !else
|
|---|
| 29 | CXXFLAGS += $(CXXEXCEPTIONS)
|
|---|
| 30 | !endif
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 | #
|
|---|
| 34 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
|---|
| 35 | #
|
|---|
| 36 | OBJS = \
|
|---|
| 37 | $(OBJDIR)\kFileDEF.obj \
|
|---|
| 38 | $(OBJDIR)\kFileLX.obj \
|
|---|
| 39 | $(OBJDIR)\kFilePE.obj \
|
|---|
| 40 | $(OBJDIR)\kFileSDF.obj \
|
|---|
| 41 | $(OBJDIR)\kFileFormatBase.obj \
|
|---|
| 42 | $(OBJDIR)\kFile.obj
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 | #
|
|---|
| 46 | # Target name - name of the library without extention and path.
|
|---|
| 47 | #
|
|---|
| 48 | TARGET = common
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | #
|
|---|
| 52 | # Includes the common rules.
|
|---|
| 53 | #
|
|---|
| 54 | !include $(ODIN32_POST_INC)
|
|---|
| 55 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.