Tidied up makefile
This commit is contained in:
parent
8c90562fcc
commit
8a69829e29
7
Makefile
7
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user