From: Ralph Ronnquist <ralph.ronnquist@gmail.com>
Date: Tue, 18 May 2021 01:46:19 +0000 (+1000)
Subject: make source dependencies work
X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=2c3be1a110218ddcd04f95ebf45607f0450463a5;p=rrq%2Frrqforth.git

make source dependencies work
---

diff --git a/Makefile b/Makefile
index 3c1f61a..7e3b604 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
 INCS := $(shell grep ^include rrqforth.asm | tr -d "'" | sed 's/include//' )
-SRCS = rrqforth.asm $(INCS)
 
 # compile into 3 things: binary, symbolic information and debug support
-rrqforth: rrqforth.asm
+rrqforth: rrqforth.asm $(INCS)
 	fasm $< -s $@.fas
 	 ./fas2txt.lsp $@.fas > $@.map
 	chmod a+x $@