Skip to content

Commit 1cae31c

Browse files
authored
Merge pull request #55 from rafaelcn/dev
Adds a cleaning instruction fo clang++ builds
2 parents f3e2df3 + c29ba3f commit 1cae31c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ GCC=g++
2020
CLANG=clang
2121
LLVM_CONFIG=llvm-config
2222

23-
CFLAGS=-O3 -Wall -Wno-unknown-warning-option -std=c++1y
24-
CFLAGS-DEBUG=-O0 -Wall
23+
CFLAGS=-O3 -Wall -Wno-unknown-warning-option -std=c++14
24+
CFLAGS-DEBUG=-O0 -Wall -Wno-unknown-warning-option -std=c++14
2525
BIN=./bin
2626

2727
SUDO=sudo
@@ -37,9 +37,11 @@ all: build
3737

3838
build: $(SRCS)
3939
$(MKBIN) && $(CC) $(CFLAGS) $(SRCS) $(CONFIG) -o $(BIN)/brain
40+
rm *.dwo
4041

4142
build-gcc: $(SRCS)
4243
$(MKBIN) && $(GCC) $(CFLAGS) $(SRCS) $(CONFIG) -o $(BIN)/brain
44+
rm *.dwo
4345

4446
build-travis: $(SRCS)
4547
$(MKBIN) && $(CC) $(CFLAGS) -DINCOMPATIBLE_LLVM $(SRCS) $(CONFIG) -o $(BIN)/brain
@@ -54,6 +56,7 @@ build-3.9: all
5456

5557
debug: $(SRCS)
5658
$(MKBIN) && $(CC) -g $(CFLAGS-DEBUG) $(SRCS) $(CONFIG) -o $(BIN)/brain_debug
59+
mv *.dwo bin/
5760

5861
debug-gcc: $(SRCS)
5962
$(MKBIN) && $(GCC) -g $(CFLAGS-DEBUG) $(SRCS) $(CONFIG) -o $(BIN)/brain_debug
@@ -66,4 +69,5 @@ tests:
6669

6770
install:
6871
$(MKLIB)
72+
6973
.PHONY: tests

0 commit comments

Comments
 (0)