]> mj.ucw.cz Git - misc.git/blob - Makefile
Ursary: More PA pieces
[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 prefork: prefork.c
13 pcap-tail: pcap-tail.c
14
15 fft: fft.c
16 fft: LDFLAGS+=-lm
17
18 batt: CFLAGS+=$(shell xosd-config --cflags)
19 batt: LDFLAGS+=$(shell xosd-config --libs)
20
21 xclipcat: LDFLAGS+=-L/usr/X11R6/lib -lX11
22 xclipsend: LDFLAGS+=-L/usr/X11R6/lib -lX11
23
24 rawhid: CFLAGS+=-I ~/linux/linux-2.6.28/include
25
26 clean:
27         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`