Update Makefile
Change lists to not have trailing slash Remove listing folder during clean
This commit is contained in:
@@ -7,7 +7,7 @@ NAME=bootrom
|
|||||||
BIN=$(NAME).bin
|
BIN=$(NAME).bin
|
||||||
HEX=$(NAME).hex
|
HEX=$(NAME).hex
|
||||||
|
|
||||||
LISTS=lists/
|
LISTS=lists
|
||||||
|
|
||||||
SRCS=$(wildcard *.s) $(wildcard *.c)
|
SRCS=$(wildcard *.s) $(wildcard *.c)
|
||||||
OBJS+=$(patsubst %.s,%.o,$(filter %s,$(SRCS)))
|
OBJS+=$(patsubst %.s,%.o,$(filter %s,$(SRCS)))
|
||||||
@@ -33,5 +33,5 @@ $(LISTS):
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(OBJS) $(BIN) $(HEX)
|
rm -rf $(OBJS) $(BIN) $(HEX) $(LISTS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user