summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2013-06-22 23:27:49 +0200
committerDavid Lamparter <equinox@diac24.net>2013-06-23 14:41:37 +0200
commit12b04878c5609204e538365a83a746c377015faa (patch)
tree4cd0789636246164ef4c624ccd9a392bdcee3a4a /Makefile
parent6de9754a0cefc9e5c29ba3da46c6ebd9588bf142 (diff)
gbeat: port to Gtk3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8a4edfd..926c883 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-love: gbeat
+love: gbeat gbeat.xml
.PHONY: love clean
CC=gcc
-PKGS=glib-2.0 gtk+-2.0 libglade-2.0 gthread-2.0 fftw3 alsa
+PKGS=glib-2.0 gtk+-3.0 gladeui-2.0 gthread-2.0 fftw3 alsa cairo
CFLAGS=-std=gnu99 -Wall -Wextra -pedantic -Wno-unused-parameter -g -O0 \
`pkg-config --cflags $(PKGS)`
LDFLAGS=-g -lm `pkg-config --libs $(PKGS)` -rdynamic
@@ -10,6 +10,9 @@ LDFLAGS=-g -lm `pkg-config --libs $(PKGS)` -rdynamic
clean:
rm -f *.o gbeat
+gbeat.xml: gbeat.glade
+ gtk-builder-convert $^ $@
+
gbeat: galsa.o gfft.o gbeat.o
$(CC) $(LDFLAGS) -o $@ $^