diff options
author | Nathan Isom | 2016-01-19 21:32:56 -0600 |
---|---|---|
committer | Nathan Isom | 2016-01-19 21:32:56 -0600 |
commit | 052c60b3b81c2f245d505c848d17e7b966218a1b (patch) | |
tree | 58ace0935ed7789f607270fdcd425679f131d32a /Makefile | |
download | aur-052c60b3b81c2f245d505c848d17e7b966218a1b.tar.gz |
initial.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..97498ec29c6e --- /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) |