aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)