]> mj.ucw.cz Git - misc.git/blob - Makefile
Lustitko.
[misc.git] / Makefile
1 CC=gcc
2 LD=gcc
3 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
4
5 all:
6         @echo "Please choose what to make:"
7         @grep '^[^      ]*:' Makefile | grep -v =
8
9 parrot: parrot.c
10 xclipcat: xclipcat.c
11 xclipsend: xclipsend.c
12
13 batt: CFLAGS+=$(shell xosd-config --cflags)
14 batt: LDFLAGS+=$(shell xosd-config --libs)
15
16 xclipcat: LDFLAGS+=-L/usr/X11R6/lib -lX11
17 xclipsend: LDFLAGS+=-L/usr/X11R6/lib -lX11
18
19 clean:
20         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`