From: Jonas Fonseca Date: Sun, 24 Apr 2005 01:41:48 +0000 (-0700) Subject: [PATCH] Simplify building of programs X-Git-Tag: v0.99~770 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=90ffd0952f61717d93858b154d2505d0ba051b14;p=git.git [PATCH] Simplify building of programs Do not first build .o files when building programs. Signed-off-by: Jonas Fonseca Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 57e702395..2184a74b8 100644 --- 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)