mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 19:36:25 +08:00
cLib: Use a proper Makefile
Instead of a custom make shell script. There is no big advantage right now.
This commit is contained in:
4
gj_common/.gitignore
vendored
4
gj_common/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
a.out
|
||||
a.out*
|
||||
test
|
||||
test.dSYM
|
||||
|
4
gj_common/Makefile
Normal file
4
gj_common/Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
CC=clang
|
||||
|
||||
test: gitjournal.c test.c
|
||||
$(CC) -o test -g test.c gitjournal.c -lgit2
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euv
|
||||
|
||||
clang -g test.c gitjournal.c -lgit2
|
Reference in New Issue
Block a user