git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Simplify building of programs

From
Jonas Fonseca <fonseca@diku.dk>
Date
Apr 24, 2005, 00:23 UTC
Message-ID
<20050424002306.GB7437@diku.dk>
In-Reply-To
<20050423235956.GA7437@diku.dk>

[ Sorry, newbie in action. Last patch was for cogito, here it is the for git in case it matters. ]

Do not first build .o files when building programs.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>

--- 30290c79f4914d7575c87d1c06f441d8a3bc5115/Makefile (mode:100644 sha1:57e70239503466fb3a77f1f2618ee64377e8e04b) +++ uncommitted/Makefile (mode:100644)

@@ -50,7 +50,7 @@
 
 init-db: init-db.o
 
-%: %.o $(LIB_FILE)
+%: %.c $(LIB_FILE)
 	$(CC) $(CFLAGS) -o $@ $< $(LIBS)
 
 blob.o: $(LIB_H)
-- 
Jonas Fonseca
Previous: Jonas Fonseca
Message 2 of 2 in “Simplify building of programs”
  1. Simplify building of programsJonas Fonseca, Apr 23, 2005
  2. Jonas FonsecaApr 24, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.