diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-03-10 14:52:58 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-03-10 14:52:58 +0100 |
commit | e7926d0b5b4738e43b0274171f5f5884248bd44b (patch) | |
tree | bc4f28517c6cdc568d6a8d04e0a6b7ea2cd65559 /Makefile | |
parent | 9b67027877823512f12917e03fc382599fd3d88c (diff) | |
download | econ-e7926d0b5b4738e43b0274171f5f5884248bd44b.tar.gz econ-e7926d0b5b4738e43b0274171f5f5884248bd44b.tar.bz2 econ-e7926d0b5b4738e43b0274171f5f5884248bd44b.zip |
Makefile: Add a common rule for both client and server
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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: |