|
Last change
on this file since 21560 was 21560, checked in by abwillis, 15 years ago |
|
Changes to get pe.exe and pec.exe to build with GCC, ticket #19 and ticket #22.
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | # $Id: pec.mak,v 1.6 2002-12-30 19:05:38 sandervl Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # Odin32 API
|
|---|
| 5 | #
|
|---|
| 6 | # pe.exe makefile
|
|---|
| 7 | #
|
|---|
| 8 |
|
|---|
| 9 | #
|
|---|
| 10 | # Tell that we're producing an executable
|
|---|
| 11 | #
|
|---|
| 12 | CCENV = EMX
|
|---|
| 13 | STACKSIZE = 0x100000
|
|---|
| 14 | VIO = 1
|
|---|
| 15 | EXETARGET = 1
|
|---|
| 16 | MAKEFILE = pec.mak
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 | #
|
|---|
| 20 | # Compiler, tools, and interference rules.
|
|---|
| 21 | #
|
|---|
| 22 | !include ../../makefile.inc
|
|---|
| 23 |
|
|---|
| 24 | #
|
|---|
| 25 | # Overrides.
|
|---|
| 26 | #
|
|---|
| 27 | CXXFLAGS = $(CXXFLAGS_ODINCRT) -I/compilers/gcc440/local452/include -I/os2tk45/h
|
|---|
| 28 | LD2FLAGS = $(LD2FLAGS_ODINCRT) -L/os2tk45/lib
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 | #
|
|---|
| 32 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
|---|
| 33 | #
|
|---|
| 34 | OBJS = \
|
|---|
| 35 | $(OBJDIR)\pec.obj
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | #
|
|---|
| 39 | # Libraries. One space before the '\'.
|
|---|
| 40 | #
|
|---|
| 41 | LIBS = \
|
|---|
| 42 | $(RTLLIB_O) \
|
|---|
| 43 | "\os2tk45\lib\os2386.lib"
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | #
|
|---|
| 47 | # Target name - name of the dll without extention and path.
|
|---|
| 48 | #
|
|---|
| 49 | TARGET = pec
|
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 | #
|
|---|
| 53 | # Includes the common rules.
|
|---|
| 54 | #
|
|---|
| 55 | !include $(ODIN32_POST_INC)
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 | #
|
|---|
| 59 | # Special rule for pec.obj
|
|---|
| 60 | #
|
|---|
| 61 | $(OBJDIR)\pec.obj: pe.cpp
|
|---|
| 62 | !if "$(VAC3)" == "1" || "$(VAC36)" == "1" || "$(WAT)" == "1"
|
|---|
| 63 | $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -DCOMMAND_LINE_VERSION -Fo$@ $**
|
|---|
| 64 | !else
|
|---|
| 65 | $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -DCOMMAND_LINE_VERSION -o $@ -c $**
|
|---|
| 66 | #!error Compiler not supported yet
|
|---|
| 67 | !endif
|
|---|
| 68 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.