diff --git a/Makefile b/Makefile index d3804c7..e14989b 100755 --- a/Makefile +++ b/Makefile @@ -47,18 +47,22 @@ demo-cflags = -m3 -mb -nostdlib -I include -ffreestanding -std=c11 -Os \ obj-std-spec = obj-lib-spec = build/display_font_system.bmp.o -# Configuration files +# Configuration files, require them only if we're not cleaning config = gcc.cfg +ifeq "$(filter clean mrproper distclean,$(MAKECMDGOALS))" "" ifeq ($(wildcard $(config)),) $(error "Configuration files are missing. Did you ./configure ?") endif +endif -# Target folder +# Target folder, require it only if we want to install +ifneq "$(filter install,$(MAKECMDGOALS))" "" folder := $(shell fxsdk --folder) ifndef folder $(error "Could not get the fxSDK storage folder. Did you install fxSDK \ properly?") endif +endif diff --git a/gscreen.bmp b/gscreen.bmp deleted file mode 100644 index 4665fe5..0000000 Binary files a/gscreen.bmp and /dev/null differ diff --git a/gscreend.bmp b/gscreend.bmp deleted file mode 100644 index 2a4f7c9..0000000 Binary files a/gscreend.bmp and /dev/null differ diff --git a/gscreenl.bmp b/gscreenl.bmp deleted file mode 100644 index e10ea7c..0000000 Binary files a/gscreenl.bmp and /dev/null differ