aboutsummaryrefslogtreecommitdiff
path: root/02_process_init/Makefile
blob: 4f3d98c8f1969dc8d69963f202e99a4a3e0f83e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) 2020 Johannes Stoelp

show: entry
	./entry 1 2 3 4

entry: entry.S entry.c ../lib/libcommon.a
	gcc -o $@                \
	    -g -O0               \
	    -Wall -Wextra        \
	    -I../lib/include     \
	    -nostdlib            \
	    -static              \
	    -fno-stack-protector \
	    $^

../lib/libcommon.a:
	make -C ../lib

clean:
	rm -f entry