summaryrefslogtreecommitdiff
path: root/sys/kern/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/Makefile')
-rw-r--r--sys/kern/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/kern/Makefile b/sys/kern/Makefile
new file mode 100644
index 0000000..27fe60b
--- /dev/null
+++ b/sys/kern/Makefile
@@ -0,0 +1,10 @@
+CFILES = $(shell find . -name "*.c")
+OFILES = $(CFILES:.c=.o)
+CC =
+SYS_CFLAGS =
+
+.PHONY: all
+all: $(OFILES)
+
+%.o: %.c
+ $(CC) -c $< $(SYS_CFLAGS) -I../inc/ -o $@