13 lines
268 B
Makefile
13 lines
268 B
Makefile
all:
|
|
make init
|
|
make mkrootfs
|
|
make compile
|
|
init:
|
|
git clone https://github.com/alpinelinux/alpine-make-rootfs
|
|
mv alpine-make-rootfs starter/alpine-make-rootfs
|
|
mkrootfs:
|
|
starter/create_rootfs.sh
|
|
compile:
|
|
go build -o ./run
|
|
gcc starter/starter.c -o starter/starter
|