nocurses/Makefile

17 lines
230 B
Makefile
Raw Permalink Normal View History

CC::=cc
PREFIX::=/usr/local
all:
install: nocurses.h
install -CD nocurses.h ${PREFIX}/include/nocurses.h
uninstall:
rm ${PREFIX}/include/nocurses.h
demo: demo.c nocurses.h
${CC} -pthread -lm -o demo demo.c
clean:
rm demo