aboutsummaryrefslogtreecommitdiff
path: root/02_process_init/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-03-20 02:34:01 +0100
committerjohannst <johannes.stoelp@gmail.com>2021-03-20 02:34:01 +0100
commitef6a411ce8ff615d65e2be105834c2fdbe557de1 (patch)
tree3336df00ca14b6783486188fed5b4dde5df6cec3 /02_process_init/Makefile
parent3cbf2298b2b3dc24355449131d2e496f8e02b8f5 (diff)
downloaddynld-ef6a411ce8ff615d65e2be105834c2fdbe557de1.tar.gz
dynld-ef6a411ce8ff615d65e2be105834c2fdbe557de1.zip
Split common headers in header/src files.
Diffstat (limited to '02_process_init/Makefile')
-rw-r--r--02_process_init/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/02_process_init/Makefile b/02_process_init/Makefile
index db04941..0b51903 100644
--- a/02_process_init/Makefile
+++ b/02_process_init/Makefile
@@ -3,14 +3,17 @@
show: entry
./entry 1 2 3 4
-entry: entry.S entry.c
- gcc -o $@ \
- -g -O0 \
- -Wall -Wextra \
- -I ../include \
- -nostdlib \
- -static \
+entry: entry.S entry.c ../lib/libcommon.a
+ gcc -o $@ \
+ -g -O0 \
+ -Wall -Wextra \
+ -I../lib/include \
+ -nostdlib \
+ -static \
$^
+../lib/libcommon.a:
+ make -C ../lib
+
clean:
rm -f entry