#27333 - hisshouburaiken - Sun Oct 10, 2004 4:23 pm
Hi all, I've just recently gotten into GBA development, i'm still just messing with pixels and stuff at this point (my pride and joy is an etch-a-sketch). I've been working with HAM but I recent got Visual Studio .NET 2K3 and want to start using it as the IDE. I've followed the popular setup tutorials but I'm having trouble getting VS to compile them. Unless I'm on crack or my brain is subconsciously fixing a subtle error, this is a proper makefile (it's copied directly from GBAdev's makefile tutorial):
VS gives me this error, whether I use nmake or gnu:
What's wrong? My main target should work fine here, right?
Any help is appreciated. Once I get it compiling you have my word my next newbie question will at least have some substance to it :)
Code: |
CC = gcc
CFLAGS = -c THUMBMODEL = -mthumb -mthumb-interwork all: movepixel.gba movepixel.gba: movepixel.elf objcopy -O binary movepixel.elf movepixel.gba movepixel.elf: main.o $(CC) -o movepixel.elf main.o main.o: main.c basic.h $(CC) $(CFLAGS) $(THUMBMODEL) main.c |
VS gives me this error, whether I use nmake or gnu:
Code: |
movepixel fatal error U1073: don't know how to make 'main.c' |
What's wrong? My main target should work fine here, right?
Any help is appreciated. Once I get it compiling you have my word my next newbie question will at least have some substance to it :)