19 lines
211 B
Makefile
19 lines
211 B
Makefile
CC=cc
|
|
PREFIX=/usr/local
|
|
LIBS=-lncurses
|
|
|
|
all: build
|
|
|
|
clean:
|
|
rm ascii
|
|
|
|
ascii: ascii.c
|
|
$(CC) ascii.c $(LIBS) -o ascii
|
|
|
|
build: ascii
|
|
|
|
install: ascii
|
|
install -d $(PREFIX)/bin
|
|
install -m 755 ascii $(PREFIX)/bin
|
|
|