ms-runner/Makefile

17 lines
333 B
Makefile
Raw Normal View History

2024-06-20 16:41:25 +00:00
all:
2024-06-20 17:09:41 +00:00
make init
make mkrootfs
make compile
2024-08-19 10:00:26 +00:00
make generate
2024-06-20 17:06:53 +00:00
init:
2024-06-20 16:41:25 +00:00
git clone https://github.com/alpinelinux/alpine-make-rootfs
2024-08-19 16:56:18 +00:00
rm -rf starter/minrootfs
2024-06-20 16:41:25 +00:00
mv alpine-make-rootfs starter/alpine-make-rootfs
mkrootfs:
starter/create_rootfs.sh
2024-08-19 10:00:26 +00:00
generate:
buf generate
2024-06-20 16:41:25 +00:00
compile:
go build -o ./run
gcc starter/starter.c -o starter/starter