Cleaned up makefile a little.

This commit is contained in:
Bruce Hill 2019-01-07 16:45:23 -08:00
parent b3264e954c
commit 05ebcee669

View File

@ -1,16 +1,15 @@
CC=cc
PREFIX=
CC=cc
CFLAGS=-O3
LIBS=-lncurses
all: build
all: ascii
clean:
rm ascii
ascii: ascii.c
$(CC) ascii.c $(LIBS) -o ascii
build: ascii
$(CC) ascii.c $(LIBS) $(CFLAGS) -o ascii
install: ascii
@prefix="$(PREFIX)"; \
@ -34,3 +33,4 @@ uninstall:
fi; \
echo "Deleting..."; \
rm -rvf $$prefix/bin/ascii $$prefix/share/man/man1/ascii.1