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 +