summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9aeb8b7..925dbc2 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,11 @@ share/boot/%: boot/%.elf
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
+src/saturn-mkboot.o: src/paths.h
+
+src/paths.h: config.mak
+ echo "#define DATA_PATH \"$(sharedir)\"" > $@
+
$(DESTDIR)$(bindir)/%: bin/%
$(INSTALL) -D $< $@