summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-07 16:06:39 -0800
committerKeith Packard <keithp@keithp.com>2013-11-07 16:06:39 -0800
commite8828fa0513e666fa7246cd213001c51d7957e0e (patch)
tree36d6914a283ee08ebf5fe0c6101c7ada7559c861 /Makefile
parent0de6411c1702e81f54ebaed3a6c34e2aeaafa8cd (diff)
Update to released APIs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b79b87..e77f938 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CFLAGS=-Wall -O0 -g $(shell pkg-config --cflags xcb-shm xcb-aux xcb-dri3 xcb-present xshmfence)
LIBS=$(shell pkg-config --libs xcb-shm xcb-aux xcb-dri3 xcb-present xshmfence)
-all: shmfd dri3 futex xfence present
+all: shmfd dri3 futex xfence present pipefence shmtest
SHMFD_OBJS=shmfd.o
@@ -23,11 +23,21 @@ XFENCE_OBJS=xfence.o
xfence: $(XFENCE_OBJS)
$(CC) $(CFLAGS) -o $@ $(XFENCE_OBJS) $(LIBS)
+PIPEFENCE_OBJS=pipefence.o
+
+pipefence: $(PIPEFENCE_OBJS)
+ $(CC) $(CFLAGS) -o $@ $(PIPEFENCE_OBJS)
+
PRESENT_OBJS=present.o
present: $(PRESENT_OBJS)
$(CC) $(CFLAGS) -o $@ $(PRESENT_OBJS) $(LIBS)
+SHMTEST_OBJS=shmtest.o
+
+shmtest: $(SHMTEST_OBJS)
+ $(CC) $(CFLAGS) -o $@ $(SHMTEST_OBJS)
+
clean:
rm -f shmfd $(SHMFD_OBJS)
rm -f dri3 $(DRI3_OBJS)