aboutsummaryrefslogtreecommitdiff
path: root/02_process_init/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-11-24 23:46:17 +0100
committerjohannst <johannes.stoelp@gmail.com>2020-11-24 23:46:17 +0100
commit9e90abfdb0b1b1f270b4ae0e4f5d8742d1f2f472 (patch)
treeeaf508a17c3d54206f39f6275642bd53db70680f /02_process_init/Makefile
parent046fdcf0d37359c04735c0189b350757e893723c (diff)
downloaddynld-9e90abfdb0b1b1f270b4ae0e4f5d8742d1f2f472.tar.gz
dynld-9e90abfdb0b1b1f270b4ae0e4f5d8742d1f2f472.zip
factorize printf into io.h
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