brotli/research/Makefile

18 lines
300 B
Makefile
Raw Normal View History

2016-09-15 08:44:19 +00:00
CC = g++
CFLAGS += -O2
CPPFLAGS += -std=c++11
SOURCES = $(wildcard *.cc)
EXECUTABLES = $(SOURCES:.cc=)
BINDIR = bin
all: $(EXECUTABLES)
$(BINDIR):
mkdir -p $@
$(EXECUTABLES): $(BINDIR)
$(CC) $(CFLAGS) $(CPPFLAGS) $(addsuffix .cc, $@) -o $(BINDIR)/$@ -lgflags_nothreads
2016-09-15 08:44:19 +00:00
clean:
rm -rf $(BINDIR)