Browse Source

[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>
maint
Jonas Fonseca 20 years ago committed by Linus Torvalds
parent
commit
90ffd0952f
  1. 2
      Makefile

2
Makefile

@ -50,7 +50,7 @@ $(LIB_FILE): $(LIB_OBJS) @@ -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)

Loading…
Cancel
Save