Cleanup, fix VIC20 problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@1378 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -4,10 +4,11 @@
|
|||||||
|
|
||||||
.SUFFIXES: .o .obj .s .c
|
.SUFFIXES: .o .obj .s .c
|
||||||
|
|
||||||
# Defines for executables. The first two are passed to the submakes and are
|
# Defines for executables. AR is used within this makefile, the others are
|
||||||
# relative to the subdirectories, the last one is used directly.
|
# passed to the submakes and contain paths relative to the subdirectories
|
||||||
AS = ../../src/ca65/ca65
|
# handled by the make subprocesses.
|
||||||
AR = ../src/ar65/ar65
|
AR = ../src/ar65/ar65
|
||||||
|
AS = ../../src/ca65/ca65
|
||||||
CC = ../../src/cc65/cc65
|
CC = ../../src/cc65/cc65
|
||||||
LD = ../../src/ld65/ld65
|
LD = ../../src/ld65/ld65
|
||||||
|
|
||||||
@@ -86,8 +87,8 @@ vic20lib:
|
|||||||
for i in vic20 cbm common runtime conio dbg; do \
|
for i in vic20 cbm common runtime conio dbg; do \
|
||||||
CC=$(CC) \
|
CC=$(CC) \
|
||||||
AS=$(AS) \
|
AS=$(AS) \
|
||||||
|
AFLAGS="-t vic20 -I../../asminc" \
|
||||||
CFLAGS="-Osir -g -T -t c64 -I../../include" \
|
CFLAGS="-Osir -g -T -t c64 -I../../include" \
|
||||||
AFLAGS="-t c64" \
|
|
||||||
$(MAKE) -C $$i || exit 1; \
|
$(MAKE) -C $$i || exit 1; \
|
||||||
done
|
done
|
||||||
mv vic20/crt0.o vic20.o
|
mv vic20/crt0.o vic20.o
|
||||||
@@ -107,7 +108,7 @@ c64lib:
|
|||||||
CFLAGS="-Osir -g -T -t c64 -I../../include" \
|
CFLAGS="-Osir -g -T -t c64 -I../../include" \
|
||||||
$(MAKE) -C $$i || exit 1; \
|
$(MAKE) -C $$i || exit 1; \
|
||||||
done
|
done
|
||||||
cp c64/crt0.o c64.o
|
mv c64/crt0.o c64.o
|
||||||
cp c64/*.tgi .
|
cp c64/*.tgi .
|
||||||
for i in c64 cbm common runtime conio dbg tgi; do \
|
for i in c64 cbm common runtime conio dbg tgi; do \
|
||||||
$(AR) a c64.lib $$i/*.o;\
|
$(AR) a c64.lib $$i/*.o;\
|
||||||
|
|||||||
Reference in New Issue
Block a user