22:4508da679ffb | 23:778388400f7b |
---|---|
1 CC = gcc | 1 CC = gcc |
2 CARG = -Wall -std=gnu99 | 2 CARG = -Wall -std=gnu99 -O |
3 BUILDDIR = build/ | 3 BUILDDIR = build/ |
4 OBJ = $(shell ls | grep '\.c' | sed 's/^\([^.]*\)\.c$$/${BUILDDIR:/=\/}\1.o/g' | tr '\n' ' ') | 4 OBJ = $(shell ls | grep '\.c' | sed 's/^\([^.]*\)\.c$$/${BUILDDIR:/=\/}\1.o/g' | tr '\n' ' ') |
5 BIN = ${BUILDDIR}cline | 5 BIN = ${BUILDDIR}cline |
6 | 6 |
7 .PHONY: setup run-compile teardown | 7 .PHONY: setup run-compile teardown |