diff --git a/Makefile b/Makefile index 97bac7f..6d341cd 100644 --- a/Makefile +++ b/Makefile @@ -21,10 +21,6 @@ cubescript.o: $(CUBESCRIPT_PATH)/cubescript.cc clean: rm -f $(FILES) obuild -main.o: globs.hh main.o: $(CUBESCRIPT_PATH)/cubescript.hh - -globs.o: globs.hh globs.o: $(CUBESCRIPT_PATH)/cubescript.hh - cubescript.o: $(CUBESCRIPT_PATH)/cubescript.hh diff --git a/globs.hh b/globs.hh deleted file mode 100644 index 169f37d..0000000 --- a/globs.hh +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef OBUILD_GLOBS_HH -#define OBUILD_GLOBS_HH - -#include - -void cs_register_globs(cscript::CsState &cs); - -#endif diff --git a/main.cc b/main.cc index f19d6ca..be89731 100644 --- a/main.cc +++ b/main.cc @@ -13,7 +13,7 @@ #include -#include "globs.hh" +void cs_register_globs(cscript::CsState &cs); using ostd::ConstCharRange; using ostd::Vector; diff --git a/obuild.cfg b/obuild.cfg index 450087e..cfdfe15 100644 --- a/obuild.cfg +++ b/obuild.cfg @@ -26,8 +26,8 @@ action clean [ shell rm -f $FILES obuild_ob ] -depend main_ob.o globs.hh [@CS_PATH/cubescript.hh] -depend globs_ob.o globs.hh [@CS_PATH/cubescript.hh] +depend main_ob.o [@CS_PATH/cubescript.hh] +depend globs_ob.o [@CS_PATH/cubescript.hh] depend cubescript_ob.o [@CS_PATH/cubescript.hh] rule default obuild