forked from Alepha/Alepha
It's all a mess -- not in the new unified form and namespace. I need to do a big cleanup pass.
23 lines
409 B
Makefile
23 lines
409 B
Makefile
CPPFLAGS+= -I ../../../
|
|
CXXFLAGS+= -std=c++1z
|
|
CXXFLAGS+= -g -O0
|
|
#CXXFLAGS+= -O3
|
|
CXX=g++
|
|
LDLIBS+= -lboost_thread -lboost_system
|
|
LDLIBS+= -lpthread
|
|
CC=gcc
|
|
|
|
TESTS=$(shell ls test* | sed -e "s/\.cc//g" -e 's/\.o//g' | sort | uniq)
|
|
TEST_OBJS=`ls test* | sed -e 's/.cc/.o/g' | grep '\.o\>' | sort | uniq`
|
|
|
|
all: $(TESTS)
|
|
|
|
|
|
HEADERS= ../MockMutex.h
|
|
|
|
test0.o: $(HEADERS)
|
|
test1.o: $(HEADERS)
|
|
|
|
clean:
|
|
rm -f *.o $(TESTS)
|