From 0b8212ca23cfcb881159a2f81327a15ea6cfdcba Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 20 Dec 2021 16:23:43 +0000 Subject: Slightly better variable name --- src/spman/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/spman') 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) -- cgit v1.2.3