From 63d42efc9dc3f5cf13856cf08aaa807bfd8982e5 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 20 Dec 2013 11:50:21 +0100 Subject: initial commit --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5a12c27 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 -- cgit v1.2.3-54-g00ecf