no need to link against stdthreads

master
Daniel Kolesa 2016-01-24 15:33:48 +00:00
parent 20d423b594
commit 0a10de5880
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ OB_CXXFLAGS += -std=c++14 -I. -I$(CUBESCRIPT_PATH) -I$(OCTASTD_PATH) -pthread
all: obuild
obuild: $(FILES)
$(CXX) $(CXXFLAGS) $(OB_CXXFLAGS) $(LDFLAGS) -lstdthreads -o obuild $(FILES)
$(CXX) $(CXXFLAGS) $(OB_CXXFLAGS) $(LDFLAGS) -o obuild $(FILES)
.cc.o:
$(CXX) $(CXXFLAGS) $(OB_CXXFLAGS) -c -o $@ $<
@ -27,4 +27,4 @@ main.o: $(CUBESCRIPT_PATH)/cubescript.hh
globs.o: globs.hh
globs.o: $(CUBESCRIPT_PATH)/cubescript.hh
cubescript.o: $(CUBESCRIPT_PATH)/cubescript.hh
cubescript.o: $(CUBESCRIPT_PATH)/cubescript.hh

View File

@ -11,7 +11,7 @@ OB_CXXFLAGS = [@OB_CXXFLAGS -std=c++14 -I. -I@CS_PATH -I@OS_PATH -pthread]
rule obuild $FILES [
echo " LD" $target
shell $CXX $OB_CXXFLAGS -lstdthreads -o obuild_ob $sources
shell $CXX $OB_CXXFLAGS -o obuild_ob $sources
]
rule %_ob.o %.cc [
@ -30,4 +30,4 @@ depend main_ob.o globs.hh [@CS_PATH/cubescript.hh]
depend globs_ob.o globs.hh [@CS_PATH/cubescript.hh]
depend cubescript_ob.o [@CS_PATH/cubescript.hh]
rule default obuild
rule default obuild