Thu, 15 Sep 2011 13:29:06 +0200
refactored sources
CC = gcc BUILDDIR = build OBJ = ${BUILDDIR}/cline.o ${BUILDDIR}/scanner.o ${BUILDDIR}/settings.o ${BUILDDIR}/suffix_fnc.o ${BUILDDIR}/suffix_list.o ${BUILDDIR}/arguments.o BIN = ${BUILDDIR}/cline all: ${OBJ} ${CC} -o ${BIN} ${OBJ} ${BUILDDIR}/%.o: %.c mkdir -p ${BUILDDIR} ${CC} -c -std=c99 -o ${BUILDDIR}/$*.o $< clean: rm build/*