aboutsummaryrefslogtreecommitdiff
path: root/src/spman
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-12-20 16:23:43 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-12-20 16:23:43 +0000
commit0b8212ca23cfcb881159a2f81327a15ea6cfdcba (patch)
treea3b0f490d79fb9be68021c67dde6c62b6dcbacc5 /src/spman
parent7f76557972aee25f21bbcae1de6ffcc2821dc200 (diff)
downloadubox-msx-lib-0b8212ca23cfcb881159a2f81327a15ea6cfdcba.tar.gz
ubox-msx-lib-0b8212ca23cfcb881159a2f81327a15ea6cfdcba.zip
Slightly better variable name
Diffstat (limited to 'src/spman')
-rw-r--r--src/spman/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/spman/Makefile b/src/spman/Makefile
index 68c19ff..ea2871e 100644
--- a/src/spman/Makefile
+++ b/src/spman/Makefile
@@ -9,7 +9,8 @@ CFLAGS := -mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-
SOURCES := $(wildcard *.c)
OBJS := $(patsubst %.c,%.rel,$(SOURCES))
-EXTS := $(patsubst %.c,%.asm,$(SOURCES)) $(patsubst %.c,%.lst,$(SOURCES)) $(patsubst %.c,%.sym,$(SOURCES))
+CLEAN := $(patsubst %.c,%.asm,$(SOURCES)) $(patsubst %.c,%.lst,$(SOURCES)) $(patsubst %.c,%.sym,$(SOURCES)) \
+ $(OBJS) $(LIB)
$(LIB): $(OBJS)
$(AR) -rcD $(LIB) $(OBJS)
@@ -18,5 +19,5 @@ $(LIB): $(OBJS)
.PHONY: clean
clean:
- rm -f $(EXTS) $(OBJS) $(LIB)
+ rm -f $(CLEAN)