a083d3de74
* Moved pool file out of external definition and replaced it with a flag
17 lines
277 B
Makefile
17 lines
277 B
Makefile
|
|
CC := gcc
|
|
CFLAGS := -I../../include -I. \
|
|
-g -O3 -Wall -Werror -DPOOLS_TEST_ENV=yes
|
|
|
|
SRC := pool_test.c ../../source/pool.c
|
|
OUT := build/pool_test
|
|
|
|
$(OUT): $(SRC) | build
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
build:
|
|
mkdir -p build
|
|
|
|
clean:
|
|
rm -f $(OUT)
|