aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-06-30 21:20:24 +0000
committerGunter Knauf <gk@gknw.de>2007-06-30 21:20:24 +0000
commitc4931601c6a9e5b51b002126fe484cc12fc9a4a9 (patch)
treeca36c6d1404826cb45a85f5b85c5238e7b6872a4 /lib
parent857492ac9e405a7e2af513ddfdebfa4f79ad18b4 (diff)
fixed path to Metrowerks tools and runtime since they changed between compiler versions.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.netware11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index ea3acd398..495d51422 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -65,10 +65,14 @@ endif
# The following line defines your compiler.
ifdef METROWERKS
+ # MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support
+ MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support/Metrowerks Support
CC = mwccnlm
else
CC = gcc
endif
+# a native win32 awk can be downloaded from here:
+# http://www.gknw.net/development/prgtools/awk-20050424.zip
AWK = awk
YACC = bison -y
CP = cp -afv
@@ -95,9 +99,10 @@ ifeq ($(LIBARCH),LIBC)
PRELUDE = $(SDK_LIBC)/imports/libcpre.o
CFLAGS += -align 4
else
- PRELUDE = "$(subst \,/,$(METROWERKS))/Novell Support/libraries/runtime/prelude.obj"
- PRELUDE += "$(subst \,/,$(METROWERKS))/Novell Support/libraries/runtime/mwcrtl.lib"
- CFLAGS += -include "$(subst \,/,$(METROWERKS))/Novell Support/headers/nlm_clib_prefix.h"
+ PRELUDE = "$(MWCW_PATH)/libraries/runtime/prelude.obj"
+ # PRELUDE += "$(MWCW_PATH)/libraries/runtime/mwcrtl.lib"
+ PRELUDE += "$(MWCW_PATH)/libraries/runtime/output/clib/mwcrtl.lib"
+ CFLAGS += -include "$(MWCW_PATH)/headers/nlm_clib_prefix.h"
CFLAGS += -align 1
endif
else