]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Makefile
[PATCH] Simplify building of programs
[thirdparty/git.git] / Makefile
index 57e70239503466fb3a77f1f2618ee64377e8e04b..2184a74b80930afd8c6be431f8e0f14005173039 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ $(LIB_FILE): $(LIB_OBJS)
 
 init-db: init-db.o
 
-%: %.o $(LIB_FILE)
+%: %.c $(LIB_FILE)
        $(CC) $(CFLAGS) -o $@ $< $(LIBS)
 
 blob.o: $(LIB_H)