diff options
author | punk <punk@libernaut> | 2021-04-21 15:42:20 +0100 |
---|---|---|
committer | punk <punk@libernaut> | 2021-04-21 15:42:20 +0100 |
commit | 4107462e9ec1cabaa7f89bd8478caec3f0d5b46a (patch) | |
tree | a2e34d995cef5ac8068ec7047e93b1125c80d175 /dev/c/src/linux/Makefile | |
parent | cfce80c5a0b8bc1eccc2f22a0d5d045d29467083 (diff) | |
parent | eac48b5a8d709135a95abcc2243b369095f074f4 (diff) | |
download | doc-4107462e9ec1cabaa7f89bd8478caec3f0d5b46a.tar.gz |
Merge branch 'master' into develop
Diffstat (limited to 'dev/c/src/linux/Makefile')
-rw-r--r-- | dev/c/src/linux/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
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 |