summaryrefslogtreecommitdiffstats
path: root/receiver/Makefile
blob: fdc2a8cfc97bbb965ab60ec344160c9a5c3a2c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include ../config.mk

all: Socket.so

clean:
	rm -f *.c *.so

socket.c: socket.vala msg-format.vala
	$(VALAC) --pkg gmodule-2.0 --pkg gio-2.0 --pkg posix --pkg linux -C $^ ../receiver.vala

Socket.so: socket.c msg-format.c
	$(CC) -shared -fPIC `pkg-config --cflags --libs glib-2.0 gobject-2.0 gmodule-2.0` -o $@ $^

.PHONY: all clean