about summary refs log tree commit diff stats
path: root/dev/c/src/linux/Makefile
blob: e026551d181075a1faf0c214f476d3199b4db863 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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