summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d842753..3e92ab6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS = -I src -g -pg $(shell pkg-config --cflags glib-2.0 dbus-1)
+CFLAGS = -O2 -I src -g $(shell pkg-config --cflags glib-2.0 dbus-1)
LDLIBS = -lcurses -lmpdclient $(shell pkg-config --libs glib-2.0 dbus-1)
DEPFLAGS = -MT $@ -MMD -MP -MF build/$*.d
@@ -26,6 +26,9 @@ include $(DEPS)
tmus: $(OBJS)
$(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
+tmus.prof: $(OBJS)
+ $(CC) -o $@ $^ -pg $(CFLAGS) $(LDLIBS)
+
install:
install -m 755 tmus /usr/bin