aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-05 20:22:25 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-05 20:22:25 -0400
commit758acbc65fe52f8ac364e61c5d2d2b73083b1fe6 (patch)
treeb2842dc2b8b098fe4c7516b561328810738c5a3f /Makefile
parenta4b7c2d96c12be570c1ce0e3af5ee2a9f3bf2d7e (diff)
downloadrunes-758acbc65fe52f8ac364e61c5d2d2b73083b1fe6.tar.gz
runes-758acbc65fe52f8ac364e61c5d2d2b73083b1fe6.zip
use libuv to process events
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c385821..2ab83c0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
OUT = runes
-OBJ = runes.o xlib.o main.o
+OBJ = runes.o display.o xlib.o term.o
CFLAGS ?= -g
LDFLAGS ?= -g
build: $(OUT)
$(OUT): $(OBJ)
- $(CC) $(shell pkg-config --libs cairo-xlib) $(LDFLAGS) -o $@ $^
+ $(CC) $(shell pkg-config --libs cairo-xlib libuv) $(LDFLAGS) -o $@ $^
%.o: %.c
- $(CC) $(shell pkg-config --cflags cairo-xlib) $(CFLAGS) -c -o $@ $^
+ $(CC) $(shell pkg-config --cflags cairo-xlib libuv) $(CFLAGS) -c -o $@ $^
clean:
rm -f $(OUT) $(OBJ)