summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 44bcfc0..9ab6898 100644
--- a/Makefile
+++ b/Makefile
@@ -85,3 +85,6 @@ out/obj/%.s.o: src/%.s
out/obj/%.c.o: src/%.c
@mkdir -p $(@D)
@$(CC) $(CFLAGS) -c $^ -o $@
+
+src/init/syscalls.c: tools/syscall_wrappers.awk src/shared/syscalls.h
+ awk -f $^ > $@