1 CFLAGS = -Wall -g $(shell pkg-config --cflags libffi)
2 LDLIBS = $(shell pkg-config --libs libffi)
6 wayland_objs = wayland.o event-loop.o hash.o
8 wayland : $(wayland_objs)
9 gcc -o $@ $(wayland_objs) $(LDLIBS)
11 client_objs = client.o
13 client : $(client_objs)
14 gcc -o $@ $(client_objs)