Introduction
Introduction Statistics Contact Development Disclaimer Help
tUse make - spoon - dwm status utility (2f30 fork)
git clone git://src.adamsgaard.dk/spoon
Log
Files
Refs
LICENSE
---
commit 31c122b64d91cba0bd12237952e1e88d38e775d5
parent 6a3a2b7d107daccf3d0ee2a3d53b76b246dd6422
Author: lostd <[email protected]>
Date: Sat, 14 May 2016 18:55:52 +0100
Use make
Diffstat:
A Makefile | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -0,0 +1,28 @@
+PREFIX = /usr/local
+CFLAGS = -I/usr/X11R6/include
+LDFLAGS = -L/usr/X11R6/lib
+LDLIBS = -lxkbfile -lX11
+OBJ = spoon.o
+BIN = spoon
+
+all: $(BIN)
+
+clean:
+ rm -f $(OBJ) $(BIN)
+
+install: all
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
+
+uninstall:
+ rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN)
+
+.PHONY: all clean install uninstall
+
+.SUFFIXES: .c .o
+
+.c.o:
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+
+$(BIN): $(OBJ)
+ $(CC) -o $@ $(OBJ) $(LDFLAGS) $(LDLIBS)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.