diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-05 00:35:58 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-05 00:35:58 -0400 |
commit | 2f1c8d35e6a824544714c7eed274f88121322618 (patch) | |
tree | 7cd0eafb9b436a9aca5a428fe8473d0230bafe7e /Makefile | |
download | runes-2f1c8d35e6a824544714c7eed274f88121322618.tar.gz runes-2f1c8d35e6a824544714c7eed274f88121322618.zip |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c385821 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +OUT = runes +OBJ = runes.o xlib.o main.o +CFLAGS ?= -g +LDFLAGS ?= -g + +build: $(OUT) + +$(OUT): $(OBJ) + $(CC) $(shell pkg-config --libs cairo-xlib) $(LDFLAGS) -o $@ $^ + +%.o: %.c + $(CC) $(shell pkg-config --cflags cairo-xlib) $(CFLAGS) -c -o $@ $^ + +clean: + rm -f $(OUT) $(OBJ) + +.PHONY: build clean |