blob: 3b6348a7888ae09097e285feddd42c772c963461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
CFLAGS = -Wall
all: client
client: libvxi11client.o vxi11_clnt.o vxi11_xdr.o client.o
$(CC) $(CFLAGS) -o $@ $^
client.o: client.c libvxi11client.h
$(CC) $(CFLAGS) -c $<
libvxi11client.o: libvxi11client.c libvxi11client.h
$(CC) $(CFLAGS) -c $<
vxi11_clnt.o: vxi11_clnt.c
$(CC) $(CFLAGS) -c $<
vxi11_xdr.o: vxi11_xdr.c
$(CC) $(CFLAGS) -c $^
.PHONY: clean perl
clean:
-rm *.o client
-rm -rf VXI11-Client
perl:
-rm -rf VXI11-Client
h2xs -M vxi11 -x -n VXI11::Client libvxi11client.h
|