GoofKing
All your bases are belong to us
I did everything this site on setting up gbdk (Gameboy development Kit) on Linux and it all went smoothly until I got to the make-file part.
Here's what it contains:
but when I type make it gives this error:
...
At first I had trouble with the site and deciding rather or not there were spaces in the make-file but then had the common sense to just copy it completely from the site here,MariusGames - Making Gameboy games: installing the GBDK compiler in Ubuntu Linux
and it's still giving me errors. Why the hell does it matter if an effing tab instead of eight spaces and why does it even matter in the first place ?
What does it even mean ?
Here's what it contains:
Code:
CC = ../../../bin/lcc -Wa-l -Wl-m
BINS = test01.gb
all: $(BINS)
%.o: %.c
$(CC) -c -o $@ $<
%.s: %.c
$(CC) -S -o $@ $<
%.o: %.s
$(CC) -c -o $@ $<
%.gb: %.o
$(CC) -o $@ $<
clean:
rm -f *.o *.lst *.map *.gb
# Link file, and write 0x80 at position 0x143 in header
test01.gb: test01.o
$(CC) -Wl-yp0x143=0x80 -o test01.gb test01.o
but when I type make it gives this error:
Code:
makefile:8: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
...
At first I had trouble with the site and deciding rather or not there were spaces in the make-file but then had the common sense to just copy it completely from the site here,MariusGames - Making Gameboy games: installing the GBDK compiler in Ubuntu Linux
and it's still giving me errors. Why the hell does it matter if an effing tab instead of eight spaces and why does it even matter in the first place ?
What does it even mean ?