Fixed some Makefile dependencies.

This commit is contained in:
lephe 2016-11-11 10:43:13 +01:00
parent eedec2b124
commit 28748a820c
2 changed files with 10 additions and 8 deletions

View file

@ -119,11 +119,14 @@ endef
# Generic rules
all: $(config) build $(target-std) $(target-lib) $(target-g1a)
all: $(config) $(target-std) $(target-lib) $(target-g1a)
@ printf '\e[32;1mmsg \u00bb\e[0m All done!\n'
build:
@ mkdir -p $@
$(if $(VERBOSE),,@ printf '\e[35;1mdir \u00bb\e[0m mkdir $@\n')
$(if $(VERBOSE),,@) mkdir -p $@
$(obj-std) $(obj-lib) $(demo-obj): | build
$(target-std): $(config) $(obj-std)
$(if $(VERBOSE),,@ printf '\e[35;1mlib \u00bb\e[0m ar $@\n')
@ -192,11 +195,10 @@ build/demo_%.bmp.o: demo/resources/%.bmp
#---
clean:
@ rm -rf build/*
@ rm -rf build
mrproper: clean
@ rm -f $(target-g1a) $(target-lib) $(target-std)
@ rm -rf build
@ rm -f $(config)
distclean: mrproper
@ -205,4 +207,4 @@ install:
p7 send -f $(target-g1a)
.PHONY: all clean mrproper distclean
.PHONY: all clean mrproper distclean install help

View file

@ -37,13 +37,13 @@ void gray_stop(void);
/*
gray_lightVRAM()
Returns the module's gray vram address.
Returns the module's light gray vram address.
*/
void *gray_lightVRAM(void);
/*
gray_lightVRAM()
Returns the module's dark vram address.
gray_darkVRAM()
Returns the module's dark gray vram address.
*/
void *gray_darkVRAM(void);