projects
/
swan-dev
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools: romheader makefile
[swan-dev]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ce76b7c
..
33bfcaa
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,8
+4,12
@@
CC=bcc
LD=ld86
AS=nasm
LD=ld86
AS=nasm
+#$(LD) -M src/*.o
+
+# -d delete headers
+# -s strip symbols
all:
all:
- $(LD)
-M src/*.o
+ $(LD)
src/*.o -d -s -o test.wsc
# use -x to for -ffreestanding
c-files:
# use -x to for -ffreestanding
c-files:
@@
-14,6
+18,6
@@
init:
$(AS) -fas86 src/*.s -i $(INC)
clean:
$(AS) -fas86 src/*.s -i $(INC)
clean:
- rm -rf src/*.o
+ rm -rf src/*.o
test.wsc