Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Fonseca <fonseca@diku.dk>2005-04-24 05:41:48 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-24 05:41:48 +0400
commit90ffd0952f61717d93858b154d2505d0ba051b14 (patch)
treed437ceb68a1df0f19991463367a3f11e64717b19
parent65bc81d6fef619d7aadc5c7116be52860539f17a (diff)
[PATCH] Simplify building of programs
Do not first build .o files when building programs. Signed-off-by: Jonas Fonseca <fonseca@diku.dk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57e7023950..2184a74b80 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)