mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
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:
parent
7335ffc31f
commit
b39843f3e4
11
Makefile
11
Makefile
@ -5,15 +5,8 @@ DOXYGEN = doxygen
|
|||||||
CFLAGS = -g -O2
|
CFLAGS = -g -O2
|
||||||
BASIC_CFLAGS = -Isrc
|
BASIC_CFLAGS = -Isrc
|
||||||
|
|
||||||
OBJS = \
|
OBJS = $(patsubst %.c,%.o,$(wildcard src/*.c))
|
||||||
src/git_odb.o \
|
HDRS = $(wildcard src/*.h)
|
||||||
src/git_oid.o \
|
|
||||||
#end OBJS
|
|
||||||
|
|
||||||
HDRS = \
|
|
||||||
src/git_oid.h \
|
|
||||||
src/git_common.h \
|
|
||||||
#end HDRS
|
|
||||||
|
|
||||||
|
|
||||||
all:: libgit2.a
|
all:: libgit2.a
|
||||||
|
Loading…
Reference in New Issue
Block a user