diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-01-16 21:21:16 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-01-16 21:21:16 +0000 |
commit | 9c984aa67d2bd607032ba7fa911c77f9bbf87d4c (patch) | |
tree | 879aab02a8d08d3c72d925efc1de39c64f914b39 | |
parent | 39ada0e9dcac2ec27561f5f6bf7f25b63b53c1b8 (diff) | |
download | ubox-msx-lib-9c984aa67d2bd607032ba7fa911c77f9bbf87d4c.tar.gz ubox-msx-lib-9c984aa67d2bd607032ba7fa911c77f9bbf87d4c.zip |
Fixed compilation flags
CFLAGS was used in LDFLAGS.
-rw-r--r-- | game/src/Makefile | 4 | ||||
-rw-r--r-- | src/spman/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/game/src/Makefile b/game/src/Makefile index bd8f3ff..967ed15 100644 --- a/game/src/Makefile +++ b/game/src/Makefile @@ -16,8 +16,8 @@ CC := sdcc AS := sdasz80 AR := sdcclib CHKSIZE := ../../tools/chksize -CFLAGS := -mz80 --Werror -I../../include -I../generated --fsigned-char --std-sdcc99 --opt-code-speed $(EXTRA_CFLAGS) -LDFLAGS := -L../../lib -L. --no-std-crt0 --fomit-frame-pointer +CFLAGS := -mz80 --Werror -I../../include -I../generated --fsigned-char --std-sdcc99 --opt-code-speed --fomit-frame-pointer $(EXTRA_CFLAGS) +LDFLAGS := -L../../lib -L. --no-std-crt0 default: $(error Please use the Makefile from root directory) diff --git a/src/spman/Makefile b/src/spman/Makefile index be9effd..db8bcdc 100644 --- a/src/spman/Makefile +++ b/src/spman/Makefile @@ -5,7 +5,7 @@ include ../../config.env CC := sdcc AR := sdar -CFLAGS := -mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed $(EXTRA_CFLAGS) +CFLAGS := -mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed --fno-omit-frame-pointer $(EXTRA_CFLAGS) SOURCES := $(wildcard *.c) OBJS := $(patsubst %.c,%.rel,$(SOURCES)) |