17 lines
509 B
Makefile
17 lines
509 B
Makefile
|
all:
|
||
|
rm -rf starter/alpine-make-rootfs
|
||
|
git clone https://github.com/alpinelinux/alpine-make-rootfs
|
||
|
mv alpine-make-rootfs starter/alpine-make-rootfs
|
||
|
go build -o ./run
|
||
|
gcc starter/starter.c -o starter/starter
|
||
|
starter/create_rootfs.sh
|
||
|
install_minrootfs:
|
||
|
rm -rf starter/alpine-make-rootfs
|
||
|
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
|