aboutsummaryrefslogblamecommitdiff
path: root/02_process_init/Makefile
blob: 0b51903c0647334913a4e8796cd08e593d667b28 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                    

                       






                                         

              


                      

                   
# 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            \
	    $^

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

clean:
	rm -f entry