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