18 lines
365 B
Makefile
18 lines
365 B
Makefile
CFLAGS = -Wall -Wextra -pedantic -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXft -I/usr/X11R6/include/freetype2 -pthread
|
|
|
|
PREFIX ?= /usr/local
|
|
CC ?= cc
|
|
|
|
compile:
|
|
cp config.def.h config.h
|
|
$(CC) herbe.c $(CFLAGS) -o herbe
|
|
|
|
install: compile
|
|
mkdir -p ~/bin
|
|
cp -f herbe ~/bin
|
|
chmod +x ~/bin/herbe
|
|
|
|
uninstall:
|
|
rm -f ~/bin/herbe
|
|
|
|
.PHONY: compile install uninstall
|