diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-01-25 15:57:10 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2021-01-25 15:57:10 +0000 |
commit | f2e34f162af326aace8ca6d9d0ca26e1159b3706 (patch) | |
tree | afcea0dee7cba7ec9d514fa56c6107b35af28dde /src/spman | |
parent | 6b884b930a9e1b7016f4e1a8967466cb9536ce45 (diff) | |
download | ubox-msx-lib-f2e34f162af326aace8ca6d9d0ca26e1159b3706.tar.gz ubox-msx-lib-f2e34f162af326aace8ca6d9d0ca26e1159b3706.zip |
Reviewed makefiles
Diffstat (limited to 'src/spman')
-rw-r--r-- | src/spman/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/spman/Makefile b/src/spman/Makefile index b2bc5df..49b7de9 100644 --- a/src/spman/Makefile +++ b/src/spman/Makefile @@ -1,12 +1,12 @@ -LIB=../../lib/spman.lib +LIB := ../../lib/spman.lib all: $(LIB) -CC=sdcc -AR=sdar -CFLAGS=-mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed +CC := sdcc +AR := sdar +CFLAGS := -mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed -SOURCES=$(wildcard *.c) -OBJS=$(patsubst %.c,%.rel,$(SOURCES)) +SOURCES := $(wildcard *.c) +OBJS := $(patsubst %.c,%.rel,$(SOURCES)) $(LIB): $(OBJS) $(AR) -rcD $(LIB) $(OBJS) |