From ef6a411ce8ff615d65e2be105834c2fdbe557de1 Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 20 Mar 2021 02:34:01 +0100 Subject: Split common headers in header/src files. --- 02_process_init/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to '02_process_init/Makefile') 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 -- cgit v1.2.3