aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/init/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysbin/init/Makefile')
-rw-r--r--src/sysbin/init/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sysbin/init/Makefile b/src/sysbin/init/Makefile
new file mode 100644
index 0000000..53a1f45
--- /dev/null
+++ b/src/sysbin/init/Makefile
@@ -0,0 +1,12 @@
+
+OBJ = main.o
+
+LIB = ../../lib/libkogata/libkogata.lib ../../common/libc/libc.lib ../../common/libalgo/libalgo.lib
+
+CFLAGS = -I ./include -I ../../common/include -I ../../lib/include
+
+LDFLAGS = -T ../linker.ld -Xlinker -Map=init.map
+
+OUT = init.bin
+
+include ../../rules.make