brickworks/test/Makefile

17 lines
208 B
Makefile
Raw Normal View History

CC := gcc
CFLAGS := -I../include
all: build/bw_math
./build/bw_math
build/bw_math: bw_math.c ../include/bw_math.h | build
${CC} ${CFLAGS} $^ -o $@
build:
mkdir -p $@
clean:
rm -fr build/
.PHONY: all