diff --git a/.gitignore b/.gitignore index 3017290..044f524 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ toml_cat toml_json toml_sample +unittest/t1 # Debug files *.dSYM/ diff --git a/Makefile b/Makefile index 599f7db..9431256 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,10 @@ libtoml.so.$(LIB_VERSION): toml.o $(EXEC): $(LIB) +check: + make -C unittest + ./unittest/t1 + install: all install -d ${prefix}/include ${prefix}/lib install toml.h ${prefix}/include