]> granicus.if.org Git - cgit/commitdiff
Replace useless make rules with generic $(OBJECTS) dependency
authorLars Hjemli <hjemli@gmail.com>
Sat, 9 Dec 2006 14:29:05 +0000 (15:29 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sat, 9 Dec 2006 14:29:05 +0000 (15:29 +0100)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Makefile

index 1470c0a2c0fe71965a8fa8eef0c9536b97bd8259..4e72b07e70d5369b8f568421c2c77dc22f65c8b5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,4 @@ clean:
 cgit: $(OBJECTS)
        $(CC) -o cgit $(OBJECTS) $(EXTLIBS)
 
-cgit.o: cgit.h git.h config.o html.o
-
-config.o: cgit.h git.h html.c
-
-html.o: cgit.h git.h html.c
+$(OBJECTS): cgit.h git.h