mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-19 18:39:26 +00:00
Fix Makefile targets to correctly depend on *.h files
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
8edc2805f1
commit
13ce9f1b96
2
Makefile
2
Makefile
@ -22,7 +22,7 @@ apidocs:
|
|||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@
|
$(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
src/%.o: src/%.c $(HDRS)
|
$(OBJS): $(HDRS)
|
||||||
libgit2.a: $(OBJS)
|
libgit2.a: $(OBJS)
|
||||||
rm -f libgit2.a
|
rm -f libgit2.a
|
||||||
$(AR) cr libgit2.a $(OBJS)
|
$(AR) cr libgit2.a $(OBJS)
|
||||||
|
Loading…
Reference in New Issue
Block a user