diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 58f8826..e3268b3 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ endif cflags := -m3 -mb -ffreestanding -nostdlib -fstrict-volatile-bitfields -Wall \ -Wextra -Os -I . $(modelflag) -target ?= sh3eb-elf +target ?= sh-elf lib := liblog-$(MODEL).a header := liblog.h @@ -45,7 +45,8 @@ build-$(MODEL)/%.c.o: %.c | build-$(MODEL)/ # Misc rules clean: - @ rm -rf build + @ rm -rf build-fx + @ rm -rf build-cg distclean: clean @ rm -f $(lib)