From 2de0cd2e8660056bc424ea3214c86c78c50dedc1 Mon Sep 17 00:00:00 2001 From: Pedro de Medeiros Date: Mon, 20 Dec 2021 12:53:14 -0300 Subject: Makefile in spman.lib now cleans up completely --- src/spman/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/spman/Makefile b/src/spman/Makefile index 690e72f..68c19ff 100644 --- a/src/spman/Makefile +++ b/src/spman/Makefile @@ -9,7 +9,7 @@ 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)) $(LIB): $(OBJS) $(AR) -rcD $(LIB) $(OBJS) @@ -18,5 +18,5 @@ $(LIB): $(OBJS) .PHONY: clean clean: - rm -f $(OBJS) $(LIB) + rm -f $(EXTS) $(OBJS) $(LIB) -- cgit v1.2.3