tools: romheader makefile
[swan-dev] / Makefile
index ce76b7c..33bfcaa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,12 @@ CC=bcc
 LD=ld86
 AS=nasm
 
+#$(LD) -M src/*.o
+
+# -d delete headers
+# -s strip symbols
 all:
-       $(LD) -M src/*.o
+       $(LD) src/*.o -d -s -o test.wsc
 
 # use -x to for -ffreestanding
 c-files:
@@ -14,6 +18,6 @@ init:
        $(AS) -fas86 src/*.s -i $(INC)
 
 clean:
-       rm -rf src/*.o
+       rm -rf src/*.o test.wsc