Tidied up makefile

This commit is contained in:
Bruce Hill 2019-01-07 16:59:57 -08:00
parent 8c90562fcc
commit 8a69829e29

View File

@ -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