aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 5a12c2708fc03317b976b9e989af5012677ff7c3 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PREFIX	:= /usr
CC	:= gcc
INSTALL	:= install
RM	:= rm
CFLAGS	+= -O2 -Wall -Werror

nullshell: nullshell.c
	$(CC) $(CFLAGS) $(LDFLAGS) nullshell.c -o nullshell

install: nullshell
	$(INSTALL) nullshell $(DESTDIR)$(PREFIX)/bin/nullshell

clean:
	$(RM) -f nullshell