diff options
Diffstat (limited to 'libvxi11client/Makefile')
-rw-r--r-- | libvxi11client/Makefile | 14 |
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 |