summaryrefslogtreecommitdiff
path: root/init/Makefile
blob: fae06bfbca8b4087ad0a8599e9fd93813f9dd5e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc
CFLAGS =
LDFLAGS = --static
OUTPUT = init

SRC = init.c

build:
	$(CC) $(CFLAGS) $(SRC) $(LDFLAGS) -o $(OUTPUT)

.PHONY: copy clean

clean:
	rm -df $(OUTPUT)

copy:
	cp $(OUTPUT) ../root/init