cgit

commit c76a52be5b5af940b8bcc9b3f554f4d44367506a

Author: Lars Hjemli <hjemli@gmail.com>

Replace useless make rules with generic $(OBJECTS) dependency

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

 Makefile | 6 +-----


diff --git a/Makefile b/Makefile
index 1470c0a2c0fe71965a8fa8eef0c9536b97bd8259..4e72b07e70d5369b8f568421c2c77dc22f65c8b5 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,4 @@
 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