Use only the base name of projects as program file name.
This commit is contained in:
parent
c1a4a83f44
commit
3826b8c0c4
|
@ -30,7 +30,7 @@
|
||||||
#
|
#
|
||||||
# Author: Oliver Schmidt <ol.sc@web.de>
|
# Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
#
|
#
|
||||||
# $Id: Makefile.apple2enh,v 1.10 2010/01/31 09:34:12 oliverschmidt Exp $
|
# $Id: Makefile.apple2enh,v 1.11 2010/01/31 18:21:41 oliverschmidt Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
CONTIKI_SOURCEFILES += log-asm.S pfs.S
|
CONTIKI_SOURCEFILES += log-asm.S pfs.S
|
||||||
|
@ -50,7 +50,7 @@ ifeq ($(MAKECMDGOALS),disk)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TRIM_PROJECT := ${shell echo $(CONTIKI_PROJECT) | sed 's!\(.\{1,8\}\).*!\1!'}
|
TRIM_PROJECT := ${shell echo $(CONTIKI_PROJECT) | sed 's!\([^-]\{1,8\}\).*!\1!'}
|
||||||
|
|
||||||
disk: all
|
disk: all
|
||||||
cp $(CONTIKI)/tools/$(TARGET)/prodos.dsk contiki.dsk
|
cp $(CONTIKI)/tools/$(TARGET)/prodos.dsk contiki.dsk
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#
|
#
|
||||||
# Author: Oliver Schmidt <ol.sc@web.de>
|
# Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
#
|
#
|
||||||
# $Id: Makefile.c128,v 1.6 2010/01/31 09:34:13 oliverschmidt Exp $
|
# $Id: Makefile.c128,v 1.7 2010/01/31 18:21:41 oliverschmidt Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
CONTIKI_CPU = $(CONTIKI)/cpu/6502
|
CONTIKI_CPU = $(CONTIKI)/cpu/6502
|
||||||
|
@ -45,9 +45,11 @@ ifeq ($(MAKECMDGOALS),disk)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TRIM_PROJECT := ${shell echo $(CONTIKI_PROJECT) | sed 's!\([^-]*\).*!\1!'}
|
||||||
|
|
||||||
disk: all
|
disk: all
|
||||||
$(C1541) -format contiki,00 d71 contiki.d71
|
$(C1541) -format contiki,00 d71 contiki.d71
|
||||||
$(C1541) -attach contiki.d71 -write $(CONTIKI_PROJECT).$(TARGET) $(CONTIKI_PROJECT)
|
$(C1541) -attach contiki.d71 -write $(CONTIKI_PROJECT).$(TARGET) $(TRIM_PROJECT)
|
||||||
$(C1541) -attach contiki.d71 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg
|
$(C1541) -attach contiki.d71 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg
|
||||||
$(C1541) -attach contiki.d71 -write cs8900a.eth cs8900a.eth
|
$(C1541) -attach contiki.d71 -write cs8900a.eth cs8900a.eth
|
||||||
$(C1541) -attach contiki.d71 -write lan91c96.eth lan91c96.eth
|
$(C1541) -attach contiki.d71 -write lan91c96.eth lan91c96.eth
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#
|
#
|
||||||
# Author: Oliver Schmidt <ol.sc@web.de>
|
# Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
#
|
#
|
||||||
# $Id: Makefile.c64,v 1.8 2010/01/31 09:34:13 oliverschmidt Exp $
|
# $Id: Makefile.c64,v 1.9 2010/01/31 18:21:41 oliverschmidt Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
CONTIKI_CPU = $(CONTIKI)/cpu/6502
|
CONTIKI_CPU = $(CONTIKI)/cpu/6502
|
||||||
|
@ -45,9 +45,11 @@ ifeq ($(MAKECMDGOALS),disk)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TRIM_PROJECT := ${shell echo $(CONTIKI_PROJECT) | sed 's!\([^-]*\).*!\1!'}
|
||||||
|
|
||||||
disk: all
|
disk: all
|
||||||
$(C1541) -format contiki,00 d64 contiki.d64
|
$(C1541) -format contiki,00 d64 contiki.d64
|
||||||
$(C1541) -attach contiki.d64 -write $(CONTIKI_PROJECT).$(TARGET) $(CONTIKI_PROJECT)
|
$(C1541) -attach contiki.d64 -write $(CONTIKI_PROJECT).$(TARGET) $(TRIM_PROJECT)
|
||||||
$(C1541) -attach contiki.d64 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg
|
$(C1541) -attach contiki.d64 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg
|
||||||
$(C1541) -attach contiki.d64 -write cs8900a.eth cs8900a.eth
|
$(C1541) -attach contiki.d64 -write cs8900a.eth cs8900a.eth
|
||||||
$(C1541) -attach contiki.d64 -write lan91c96.eth lan91c96.eth
|
$(C1541) -attach contiki.d64 -write lan91c96.eth lan91c96.eth
|
||||||
|
|
Loading…
Reference in a new issue