ZNeo compiler now works

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@525 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-01-08 13:02:47 +00:00
parent 7d4974fea4
commit 2b5f9fddad
3 changed files with 9 additions and 8 deletions

View File

@ -36,6 +36,7 @@
include ${TOPDIR}/.config
ZDSINSTALLDIR = C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.10.2
ZDSBINDIR = $(ZDSINSTALLDIR)/bin
ZDSLIBDIR = $(ZDSINSTALLDIR)/lib/std
ZDSINCDIR = $(ZDSINSTALLDIR)/include
@ -72,11 +73,11 @@ CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES)
CROSSDEV =
CC = zneocc
CPP = zneoasm
LD = zneolink
AS = zneoasm
AR = zneolib
CC = $(ZDSBINDIR)/zneocc.exe
CPP = $(ZDSBINDIR)/zneoasm.exe
LD = $(ZDSBINDIR)/zneolink.exe
AS = $(ZDSBINDIR)/zneoasm.exe
AR = $(ZDSBINDIR)/zneolib.exe
ASMEXT = .asm
OBJEXT = .obj

View File

@ -41,6 +41,6 @@ if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi
WD=`pwd`
ZDSINSTALLDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.10.2"
export PATH=${ZDSINSTALLDIR}/bin:/sbin:/usr/sbin:${PATH_ORIG}
export PATH="${ZDSINSTALLDIR}/bin:/sbin:/usr/sbin:${PATH_ORIG}"
echo "PATH : ${PATH}"

View File

@ -57,13 +57,13 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(CC) -c $(CFLAGS) $< -o $@
libboard$(LIBEXT): $(OBJS)
( for obj in $(OBJS) ; do \
@( for obj in $(OBJS) ; do \
$(AR) $@ $${obj} || \
{ echo "$(AR) $@ $obj FAILED!" ; exit 1 ; } ; \
done ; )
.depend: Makefile $(SRCS)
$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
touch $@
depend: .depend