diff --git a/gj_common/.gitignore b/gj_common/.gitignore index eb7e2521..9f5a14da 100644 --- a/gj_common/.gitignore +++ b/gj_common/.gitignore @@ -1,2 +1,2 @@ -a.out -a.out* +test +test.dSYM diff --git a/gj_common/Makefile b/gj_common/Makefile new file mode 100644 index 00000000..e7f8cdc0 --- /dev/null +++ b/gj_common/Makefile @@ -0,0 +1,4 @@ +CC=clang + +test: gitjournal.c test.c + $(CC) -o test -g test.c gitjournal.c -lgit2 diff --git a/gj_common/make.sh b/gj_common/make.sh deleted file mode 100755 index 38133112..00000000 --- a/gj_common/make.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -set -euv - -clang -g test.c gitjournal.c -lgit2