default-target: all BINARIES=565to888 8888to565 mkfile teecmd csv_to_xml OLD_BINARIES=input-kbd-rpt endswap SCRIPTS=overwrite write_dvd write_cd powersw wakethen vncrecord textract OLD_SCRIPTS=cvsmv cvstotgz cvstotbz2 svntotbz2 disklog checkup batteryd iwmenu PROGS=${BINARIES} ${SCRIPTS} nothing: all: ${PROGS} install: for i in $(PROGS); do install $$i /usr/local/bin; done CC=gcc CFLAGS=-O2 -W -I/project/libpbe/include LIBS=-L/project/libpbe -lpbe %: %.cc ${CXX} ${CFLAGS} -o $@ $^ ${LIBS} %: %.c ${CC} ${CFLAGS} -o $@ $^