From 452477a2635d85ecf772a5242ce97d9479503bb3 Mon Sep 17 00:00:00 2001 From: Silvino Date: Wed, 3 Mar 2021 03:07:44 +0000 Subject: OpenBSD documentation dev/c system dev rev --- dev/c/src/linux/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dev/c/src/linux/Makefile (limited to 'dev/c/src/linux/Makefile') diff --git a/dev/c/src/linux/Makefile b/dev/c/src/linux/Makefile new file mode 100644 index 0000000..e026551 --- /dev/null +++ b/dev/c/src/linux/Makefile @@ -0,0 +1,13 @@ +CC=gcc +CFLAGS=-Wall -static +#LDFLAGS=-lc -lnss_files -lnss_dns -lresolv + +all: init ramdisk + +init: init.c + +ramdisk: + find . | cpio -o -H newc | gzip > rootfs.cpio.gz + +clean: + rm -f *.o init rootfs.cpio.gz -- cgit 1.4.1-2-gfad0