X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=723702cc685e0339503e2c0cf87545af391abb71;hb=refs%2Fheads%2Fmaster;hp=fa20c23eb18175b773b70bd13f853b959a90fd2a;hpb=e607d7915643f2d825c7dcb6df81d040fd0ffe41;p=misc.git diff --git a/Makefile b/Makefile index fa20c23..723702c 100644 --- a/Makefile +++ b/Makefile @@ -2,17 +2,25 @@ 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 +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) 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 .#*`