Cleaned up makefile a little.
This commit is contained in:
parent
b3264e954c
commit
05ebcee669
10
Makefile
10
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user