diff --git a/Makefile b/Makefile index be490a5..97bac7f 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file +cubescript.o: $(CUBESCRIPT_PATH)/cubescript.hh diff --git a/obuild.cfg b/obuild.cfg index f05e337..450087e 100644 --- a/obuild.cfg +++ b/obuild.cfg @@ -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 \ No newline at end of file +rule default obuild