From 8a69829e297978129f591d076bfe16e858e937e7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 7 Jan 2019 16:59:57 -0800 Subject: [PATCH] Tidied up makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index df3a14d..bb1d816 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ - PREFIX= +CC=cc +CFLAGS=-O3 +LIBS=-lncurses all: nuke nuke: *.h *.c - cc nuke.c -lncurses -O3 -o nuke + $(CC) nuke.c $(LIBS) $(CFLAGS) -o nuke clean: rm -f nuke @@ -31,3 +33,4 @@ uninstall: fi; \ echo "Deleting..."; \ rm -rvf $$prefix/bin/nuke $$prefix/share/man/man1/nuke.1 +