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 gio-2.0 gobject-2.0 gmodule-2.0` -o $@ $^ .PHONY: all clean