17 lines
333 B
Makefile
17 lines
333 B
Makefile
all:
|
|
make init
|
|
make mkrootfs
|
|
make compile
|
|
make generate
|
|
init:
|
|
git clone https://github.com/alpinelinux/alpine-make-rootfs
|
|
rm -rf starter/minrootfs
|
|
mv alpine-make-rootfs starter/alpine-make-rootfs
|
|
mkrootfs:
|
|
starter/create_rootfs.sh
|
|
generate:
|
|
buf generate
|
|
compile:
|
|
go build -o ./run
|
|
gcc starter/starter.c -o starter/starter
|