You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
454 B
29 lines
454 B
LDLIBS=-lstdc++ -lpEpAdapter
|
|
LDFLAGS=-L../../src/
|
|
CXXFLAGS=-std=c++11 -g
|
|
CXXFLAGS+=-I./src
|
|
TEST_EXTRA_OBJS=../framework/utils.o
|
|
|
|
# Src
|
|
SRC=$(wildcard src/*.cc)
|
|
OBJ=$(subst .cc,.o,$(SRC))
|
|
|
|
# Tests
|
|
TEST_SRC=$(wildcard test/*.cc)
|
|
TEST_OBJ=$(subst .cc,,$(TEST_SRC))
|
|
|
|
|
|
.PHONY: all clean rmtestdata
|
|
.DEFAULT_GOAL := all
|
|
|
|
all: $(TEST_OBJ)
|
|
|
|
$(TEST_OBJ): $(OBJ) $(TEST_EXTRA_OBJS)
|
|
|
|
|
|
clean:
|
|
rm -f $(OBJ)
|
|
rm -f $(TEST_OBJ)
|
|
rm -rf src/*.dSYM
|
|
rm -rf test/*.dSYM
|
|
|
|
|