summarylogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNathan Isom2016-01-19 21:32:56 -0600
committerNathan Isom2016-01-19 21:32:56 -0600
commit052c60b3b81c2f245d505c848d17e7b966218a1b (patch)
tree58ace0935ed7789f607270fdcd425679f131d32a /Makefile
downloadaur-052c60b3b81c2f245d505c848d17e7b966218a1b.tar.gz
initial.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000000..97498ec29c6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+CC=gcc
+PREFIX=/usr
+BINDIR=$(PREFIX)/bin
+DESTDIR=
+BIN=gtkrc-reload
+CFLAGS=`pkg-config --cflags --libs gdk-2.0`
+
+all: $(BIN)
+
+$(BIN):
+ @$(CC) $(BIN).c $(CFLAGS) -o $(BIN)
+
+install:
+ mkdir -p $(DESTDIR)$(BINDIR)
+ install -Dm755 $(BIN) $(DESTDIR)$(BINDIR)
+
+clean:
+ @rm -f $(BIN)