path misconfiguration has been fixed
This commit is contained in:
parent
4cf1687845
commit
28bcff539f
1 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
# Makefile for PC-6001 using z80/SDCC
|
||||
# @author Takahide Matsutsuka <markn@markn.org>
|
||||
#
|
||||
# $Id: Makefile.pc-6001,v 1.8 2008/07/02 07:17:14 matsutsuka Exp $
|
||||
# $Id: Makefile.pc-6001,v 1.9 2008/07/02 15:04:07 matsutsuka Exp $
|
||||
#
|
||||
|
||||
ifndef CONTIKI
|
||||
|
@ -48,7 +48,7 @@ endif
|
|||
|
||||
### setup default values
|
||||
ifndef HEX2BIN
|
||||
HEX2BIN = ../../tools/z80/hexameter/hexameter
|
||||
HEX2BIN = ../../tools/z80/hex2bin/hexameter
|
||||
endif
|
||||
|
||||
### setup flags to be used in compiler, assembler, and HEX2BIN
|
||||
|
@ -59,7 +59,7 @@ CFLAGS += -DMEMORY_$(MEMORY) -DARCH_$(ARCH) -DCTK_$(CTKCONF)
|
|||
|
||||
ifeq ($(MEMORY),16K)
|
||||
LDFLAGS += --code-loc 0xc40f --data-loc 0
|
||||
HEX2BINFLAGS = -p mode1 -s suffix -n contki -o contiki.p6
|
||||
HEX2BINFLAGS = -p mode1 -s suffix -o contiki.p6
|
||||
else ifeq ($(MEMORY),ROM)
|
||||
LDFLAGS += --code-loc 0x4004 --data-loc 0xf000
|
||||
HEX2BINFLAGS = -p rom60 -o contiki.rom
|
||||
|
@ -68,7 +68,7 @@ else ifeq ($(ARCH),PC6001MK2)
|
|||
HEX2BINFLAGS = -p mode5 -s suffix -o contiki2.p6
|
||||
else
|
||||
LDFLAGS += --code-loc 0x840f --data-loc 0
|
||||
HEX2BINFLAGS = -p mode2 -s suffix -n contki -o contiki.p6
|
||||
HEX2BINFLAGS = -p mode2 -s suffix -o contiki.p6
|
||||
endif
|
||||
|
||||
ifeq ($(LOADER),1)
|
||||
|
@ -103,17 +103,17 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
|
|||
|
||||
CLEAN += *.rom *.p6 *.asm
|
||||
|
||||
contiki: contiki.p6
|
||||
contiki: $(HEX2BIN) contiki.p6
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
%.p6: $(HEX2BIN) %.ihx
|
||||
%.p6: %.ihx
|
||||
$(HEX2BIN) $(HEX2BINFLAGS) $<
|
||||
%.rom: %.ihx
|
||||
$(HEX2BIN) $(HEX2BIN) $(HEX2BINFLAGS) $<
|
||||
|
||||
$(HEX2BIN):
|
||||
cd ../../tools/z80/hexameter/; make
|
||||
cd ../../tools/z80/hex2bin/; make
|
||||
|
||||
remove-ctk:
|
||||
rm -f obj_$(TARGET)/ctk*;
|
||||
|
|
Loading…
Reference in a new issue