cLib: Use a proper Makefile

Instead of a custom make shell script.
There is no big advantage right now.
This commit is contained in:
Vishesh Handa
2019-05-16 11:05:22 +02:00
parent f5b98ab9c6
commit bd67bf65b6
3 changed files with 6 additions and 7 deletions

View File

@ -1,2 +1,2 @@
a.out
a.out*
test
test.dSYM

4
gj_common/Makefile Normal file
View File

@ -0,0 +1,4 @@
CC=clang
test: gitjournal.c test.c
$(CC) -o test -g test.c gitjournal.c -lgit2

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -euv
clang -g test.c gitjournal.c -lgit2