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 = parrot: parrot.c xclipcat: xclipcat.c xclipsend: xclipsend.c 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 clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`