summaryrefslogtreecommitdiff
path: root/Template
diff options
context:
space:
mode:
Diffstat (limited to 'Template')
-rw-r--r--Template3
1 files changed, 3 insertions, 0 deletions
diff --git a/Template b/Template
index fa574de..3410769 100644
--- a/Template
+++ b/Template
@@ -20,6 +20,9 @@ define TOOL_templ
$$(CCQ) $$(CFLAGS) -o $$@ -c $$<
$(1)/%.tab.o: $(1)/%.tab.c
$$(CCQ) $$(CFLAGS) -o $$@ -c $$<
+ $(1)/%.o: %.c %.h
+ $$(CHECK) $$(CFLAGS) $$(CHECKFLAGS) $$<
+ $$(CCQ) $$(CFLAGS) -o $(1)/$$(shell basename $$@) -c $$<
$(1)/%.o: %.c
$$(CHECK) $$(CFLAGS) $$(CHECKFLAGS) $$<
$$(CCQ) $$(CFLAGS) -o $(1)/$$(shell basename $$@) -c $$<