Update Makefile

Change lists to not have trailing slash

Remove listing folder during clean
This commit is contained in:
Byron Lathi
2022-03-10 10:29:34 -06:00
parent fff193ea0f
commit eed7c21971

View File

@@ -7,7 +7,7 @@ NAME=bootrom
BIN=$(NAME).bin
HEX=$(NAME).hex
LISTS=lists/
LISTS=lists
SRCS=$(wildcard *.s) $(wildcard *.c)
OBJS+=$(patsubst %.s,%.o,$(filter %s,$(SRCS)))
@@ -33,5 +33,5 @@ $(LISTS):
.PHONY: clean
clean:
rm -rf $(OBJS) $(BIN) $(HEX)
rm -rf $(OBJS) $(BIN) $(HEX) $(LISTS)