|
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:
946 bytes
|
| Line | |
|---|
| 1 | # $Id: pe.mak,v 1.5 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 | EXETARGET = 1
|
|---|
| 15 | MAKEFILE = pe.mak
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | #
|
|---|
| 19 | # Compiler, tools, and interference rules.
|
|---|
| 20 | #
|
|---|
| 21 | !include ../../makefile.inc
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | #
|
|---|
| 25 | # Overrides.
|
|---|
| 26 | #
|
|---|
| 27 | !if "$(VAC3)" == "1" || "$(VAC36)" == "1" || "$(WAT)" == "1"
|
|---|
| 28 | CXXFLAGS = $(CXXFLAGS_ODINCRT)
|
|---|
| 29 | LD2FLAGS = $(LD2FLAGS_ODINCRT)
|
|---|
| 30 | !else
|
|---|
| 31 | CXXFLAGS = -I$(ODIN32_INCLUDE)\emxruntime $(CXXFLAGS_ODINCRT) -I/compilers/gcc440/local452/include -I/os2tk45/h
|
|---|
| 32 | LD2FLAGS = $(LD2FLAGS_ODINCRT) -L/os2tk45/lib
|
|---|
| 33 | !endif
|
|---|
| 34 |
|
|---|
| 35 | #
|
|---|
| 36 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
|---|
| 37 | #
|
|---|
| 38 | OBJS = \
|
|---|
| 39 | $(OBJDIR)\pe.obj
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | #
|
|---|
| 43 | # Libraries. One space before the '\'.
|
|---|
| 44 | #
|
|---|
| 45 | LIBS = \
|
|---|
| 46 | $(RTLLIB_O) \
|
|---|
| 47 | "/os2tk45/lib/os2386.lib"
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 | #
|
|---|
| 51 | # Target name - name of the dll without extention and path.
|
|---|
| 52 | #
|
|---|
| 53 | TARGET = pe
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 | #
|
|---|
| 57 | # Includes the common rules.
|
|---|
| 58 | #
|
|---|
| 59 | !include $(ODIN32_POST_INC)
|
|---|
| 60 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.