X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=723702cc685e0339503e2c0cf87545af391abb71;hb=refs%2Fheads%2Fmaster;hp=c806aa287969e6c7dd6ed10106db84acacadd71a;hpb=8e4914883fe0e2e7ca12d832e6e97b466b8333df;p=misc.git diff --git a/Makefile b/Makefile index c806aa2..723702c 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,17 @@ CC=gcc LD=gcc CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 -all: - @echo "Please choose what to make:" - @grep '^[^ ]*:' Makefile | grep -v = +all: utf8-check parrot: parrot.c xclipcat: xclipcat.c xclipsend: xclipsend.c prefork: prefork.c +pcap-tail: pcap-tail.c +utf8-check: utf8-check.c + +fft: fft.c +fft: LDFLAGS+=-lm batt: CFLAGS+=$(shell xosd-config --cflags) batt: LDFLAGS+=$(shell xosd-config --libs) @@ -17,5 +20,7 @@ batt: LDFLAGS+=$(shell xosd-config --libs) xclipcat: LDFLAGS+=-L/usr/X11R6/lib -lX11 xclipsend: LDFLAGS+=-L/usr/X11R6/lib -lX11 +rawhid: CFLAGS+=-I ~/linux/linux-2.6.28/include + clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`