Files
xoat/Makefile
2012-09-25 01:05:44 +10:00

16 lines
306 B
Makefile

CFLAGS?=-Wall -Os -std=c99
LDADD?=`pkg-config --cflags --libs x11 xinerama xft`
normal:
$(CC) -o xoat xoat.c $(CFLAGS) $(LDADD) $(LDFLAGS)
$(CC) -o xoat-debug xoat.c $(CFLAGS) -g $(LDADD) $(LDFLAGS)
strip xoat
docs:
pandoc -s -w man xoat.md -o xoat.1
clean:
rm -f xoat xoat-debug
all: docs normal