Commit 1776f5ab495a5748e28685da1f6da1c298cb0273

Vicent Martí 2011-10-13T18:08:19

Merge pull request #457 from khalsah/makefile-fix Update Makefile.embed with http-parser dependency

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/Makefile.embed b/Makefile.embed
index fec090f..83dc281 100644
--- a/Makefile.embed
+++ b/Makefile.embed
@@ -4,12 +4,12 @@ AR=ar cq
 RANLIB=ranlib
 LIBNAME=libgit2.a
 
-INCLUDES= -I. -Isrc -Iinclude -Ideps/zlib
+INCLUDES= -I. -Isrc -Iinclude -Ideps/http-parser -Ideps/zlib
 
 DEFINES= $(INCLUDES) -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64
 CFLAGS= -g $(DEFINES) -Wall -Wextra -fPIC -O2
 
-SRCS = $(wildcard src/*.c) $(wildcard src/unix/*.c) $(wildcard deps/zlib/*.c)
+SRCS = $(wildcard src/*.c) $(wildcard src/transports/*.c) $(wildcard src/unix/*.c) $(wildcard deps/http-parser/*.c) $(wildcard deps/zlib/*.c)
 OBJS = $(patsubst %.c,%.o,$(SRCS))
 
 %.c.o: