aboutsummaryrefslogtreecommitdiff
path: root/02_process_init/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '02_process_init/Makefile')
-rw-r--r--02_process_init/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/02_process_init/Makefile b/02_process_init/Makefile
index 6e1f512..430b0a9 100644
--- a/02_process_init/Makefile
+++ b/02_process_init/Makefile
@@ -1,18 +1,16 @@
# Copyright (c) 2020 Johannes Stoelp
show: entry
- #gdb -q --batch -ex 'starti' -ex 'x/g $$rsp' -ex 'x/s *(char**)($$rsp+8)' ./$^
./entry 1 2 3 4
entry: entry.S entry.c
gcc -o $@ \
- -I ../include \
+ -g -O0 \
-Wall -Wextra \
- -static \
+ -I ../include \
-nostartfiles -nodefaultlibs \
- -g -O0 \
+ -static \
$^
-
clean:
rm -f entry