From e7926d0b5b4738e43b0274171f5f5884248bd44b Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sun, 10 Mar 2013 14:52:58 +0100 Subject: Makefile: Add a common rule for both client and server --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0f6743e..934f70a 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,7 @@ CFLAGS=-ggdb -Wall -Wstrict-prototypes -Wmissing-prototypes all: econproxy econserv -econproxy: econproxy.c util.c util.h econproto.h - gcc $(CFLAGS) -o $@ econproxy.c util.c - -econserv: econserv.c util.c util.h econproto.h +%: %.c util.c util.h econproto.h gcc $(CFLAGS) -Wall -o $@ $< util.c clean: -- cgit