diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-06 00:20:54 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-06 00:20:54 -0400 |
commit | a990a78a4e8dc193f5876efe32d6790c896e26e5 (patch) | |
tree | 03331a4282ea2f3efdf6e130147ee143a8fa60ce /Makefile | |
parent | 70d6aee8138cd8b9a5c1a5d0a55538d031599779 (diff) | |
download | runes-a990a78a4e8dc193f5876efe32d6790c896e26e5.tar.gz runes-a990a78a4e8dc193f5876efe32d6790c896e26e5.zip |
simplify
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,15 +1,16 @@ OUT = runes OBJ = runes.o display.o xlib.o term.o events.o +LIBS = cairo cairo-xlib libuv CFLAGS ?= -g -Wall -Wextra -Werror LDFLAGS ?= -g -Wall -Wextra -Werror build: $(OUT) $(OUT): $(OBJ) - $(CC) $(shell pkg-config --libs cairo-xlib libuv) $(LDFLAGS) -o $@ $^ + $(CC) $(shell pkg-config --libs $(LIBS)) $(LDFLAGS) -o $@ $^ %.o: %.c - $(CC) $(shell pkg-config --cflags cairo-xlib libuv) $(CFLAGS) -c -o $@ $^ + $(CC) $(shell pkg-config --cflags $(LIBS)) $(CFLAGS) -c -o $@ $^ clean: rm -f $(OUT) $(OBJ) |