aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortenox <as@tenoware.com>2017-01-24 02:32:42 -0800
committertenox <as@tenoware.com>2017-01-24 02:32:42 -0800
commit01c6be03d527fcd5c26aa13bb472a1426db78f7b (patch)
tree2c831e6bf091c679d2130b4e0bf95603aa207ecf /Makefile
parent191277829241a7b800debae6a6d45a4397b1fd87 (diff)
downloadwfm-01c6be03d527fcd5c26aa13bb472a1426db78f7b.tar.gz
readme and makefile changes for git integration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9bbb534..86e769c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
-CC=gcc -O3 -Wall
-OB=wfm.o dir.o dialogs.o fileio.o cgic.o md5.o
+CC=gcc -Wall -O3 -DWFMGIT
+OB=wfm.o dir.o dialogs.o fileio.o cgic.o md5.o urlencode.o git.o
+LD=-lgit2 -lpthread
all: wfm
wfm: ${OB}
- ${CC} ${OB} -o wfm
+ ${CC} ${OB} -o wfm ${LD}
@strip wfm
@du -h wfm
@@ -22,3 +23,4 @@ bin2c: bin2c.c
clean:
rm -f *.o wfm wfmicon*.h bin2c
+