summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorCarson Fleming <carson.fl3ming@gmail.com>2017-04-15 17:17:51 -0400
committerGitHub <noreply@github.com>2017-04-15 17:17:51 -0400
commit5d341cbcb30974b3f34450e8fcb3ca637c46490e (patch)
tree89dc46253fc130bc4d81378f528ae67394edbd28 /makefile
parentec304326b1de3427ec4767a172cbe3d0ed452493 (diff)
parent7c3153078c0491448fffb952ad6df9278dc3a695 (diff)
downloaddbsh-5d341cbcb30974b3f34450e8fcb3ca637c46490e.tar.gz
Merge pull request #2 from faissaloo/master
Merged speed changes and feature improvements by faissaloo
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/makefile b/makefile
index 04a37e8..dece0b1 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,12 @@
all:
- nasm sh.s -f elf64 -o sh.o
+ nasm sh.asm -f elf64 -o sh.o
ld sh.o -o sh
+ strip sh
+ rm sh.o
+dbg:
+ nasm sh.asm -f elf64 -o sh.o
+ ld sh.o -o sh
+ rm sh.o
+ gdb -q --eval-command="layout asm" -tui sh
clean:
rm -f sh.o sh