Use wildcard to avoid listing out all source files by hand

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
Shawn O. Pearce 2008-10-31 11:44:00 -07:00
parent 7335ffc31f
commit b39843f3e4

View File

@ -5,15 +5,8 @@ DOXYGEN = doxygen
CFLAGS = -g -O2
BASIC_CFLAGS = -Isrc
OBJS = \
src/git_odb.o \
src/git_oid.o \
#end OBJS
HDRS = \
src/git_oid.h \
src/git_common.h \
#end HDRS
OBJS = $(patsubst %.c,%.o,$(wildcard src/*.c))
HDRS = $(wildcard src/*.h)
all:: libgit2.a