Hi !
I need help with makefile in devkitdav.
I've a huge .c with a bmp converted with gp32conv. In my gpmain.c i include it with #include "mygfx.c" but it is compiled every time ...
How can i make a .h who "reference" the .c and change the makefile for compile it only when he is changed ?!
Can somebody help me ?!
here is my makefile :
# devkitadv base dir
export CCBASE=c:/devkitadv
# User options passed to the compiler
export CUSER=-DLITTLE_ENDIAN -DGP32
include $(CCBASE)/gp32.mk
#------------------------------
all: hello.fxe
gpmain.o: gpmain.c
hello.elf: gpmain.o
$(LINK)
hello.fxe: hello.gxb
clean:
del hello.gxb hello.fxe hello.elf gpmain.o
I need help with makefile in devkitdav.
I've a huge .c with a bmp converted with gp32conv. In my gpmain.c i include it with #include "mygfx.c" but it is compiled every time ...
How can i make a .h who "reference" the .c and change the makefile for compile it only when he is changed ?!
Can somebody help me ?!
here is my makefile :
# devkitadv base dir
export CCBASE=c:/devkitadv
# User options passed to the compiler
export CUSER=-DLITTLE_ENDIAN -DGP32
include $(CCBASE)/gp32.mk
#------------------------------
all: hello.fxe
gpmain.o: gpmain.c
hello.elf: gpmain.o
$(LINK)
hello.fxe: hello.gxb
clean:
del hello.gxb hello.fxe hello.elf gpmain.o