OSDN Git Service

projects clean up 1
[pinoc/pinoc.git] / pinoc_x86 / PINoC / Kernel / makefile
diff --git a/pinoc_x86/PINoC/Kernel/makefile b/pinoc_x86/PINoC/Kernel/makefile
new file mode 100644 (file)
index 0000000..c670993
--- /dev/null
@@ -0,0 +1,11 @@
+MAINSRC                =       main
+SEGLS          =       SEGLS.ls
+
+img:
+       #メインカーネル 573->1024byte
+       gcc $(MAINSRC).c -c -o $(MAINSRC).o
+       ld $(MAINSRC).o -T ../../common/$(SEGLS) -o $(MAINSRC).bin
+       ../../tool/FillNop 512 $(MAINSRC).bin
+       ../../tool/BootSigned $(MAINSRC).bin
+       
+       
\ No newline at end of file