forked from amberisvibin/chibi-pc09
fix: now tracking incs in makefile.
This commit is contained in:
@@ -12,6 +12,7 @@ TARGET := boot.bin
|
|||||||
SRCDIR := src/
|
SRCDIR := src/
|
||||||
MAINSRC := $(SRCDIR)boot.s
|
MAINSRC := $(SRCDIR)boot.s
|
||||||
SRCS := $(wildcard $(SRCDIR)*.s)
|
SRCS := $(wildcard $(SRCDIR)*.s)
|
||||||
|
INCS := $(wildcard $(SRCDIR)*.inc)
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Toolchain Definitions
|
# Toolchain Definitions
|
||||||
@@ -25,7 +26,7 @@ AS := asm6809
|
|||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(SRCS)
|
$(TARGET): $(SRCS) $(INCS)
|
||||||
$(AS) -o $(TARGET) $(MAINSRC)
|
$(AS) -o $(TARGET) $(MAINSRC)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Reference in New Issue
Block a user