Code

[PATCH] Simplify building of programs
authorJonas Fonseca <fonseca@diku.dk>
Sun, 24 Apr 2005 01:41:48 +0000 (18:41 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 01:41:48 +0000 (18:41 -0700)
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>
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)