aboutsummaryrefslogblamecommitdiff
path: root/02_process_init/Makefile
blob: 4f3d98c8f1969dc8d69963f202e99a4a3e0f83e4 (plain) (tree)
1
2
3
4
5
6


                                    

                       
                                         






                                  

              


                      

                   
# 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