summaryrefslogtreecommitdiff
path: root/libvxi11client/Makefile
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-09 14:02:09 +0900
committerdaniel <danieruru@gmail.com>2013-01-09 14:02:09 +0900
commitee9413282d02d936185dc88a34bb817a1a273e6d (patch)
tree159f3b558a9da24c4b0166889d11f2833dc72e99 /libvxi11client/Makefile
parentc4ef0522de10e86ff7af432066123e59665913c4 (diff)
A few more clean ups
Diffstat (limited to 'libvxi11client/Makefile')
-rw-r--r--libvxi11client/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/libvxi11client/Makefile b/libvxi11client/Makefile
index 9b82fac..3b6348a 100644
--- a/libvxi11client/Makefile
+++ b/libvxi11client/Makefile
@@ -1,19 +1,21 @@
+CFLAGS = -Wall
+
all: client
client: libvxi11client.o vxi11_clnt.o vxi11_xdr.o client.o
- $(CC) -o $@ $^
+ $(CC) $(CFLAGS) -o $@ $^
-client.o: client.c
- $(CC) -c $^
+client.o: client.c libvxi11client.h
+ $(CC) $(CFLAGS) -c $<
libvxi11client.o: libvxi11client.c libvxi11client.h
- $(CC) -c $<
+ $(CC) $(CFLAGS) -c $<
vxi11_clnt.o: vxi11_clnt.c
- $(CC) -c $<
+ $(CC) $(CFLAGS) -c $<
vxi11_xdr.o: vxi11_xdr.c
- $(CC) -c $^
+ $(CC) $(CFLAGS) -c $^
.PHONY: clean perl