tSources are fixed, it's the object files we care about - spoon - dwm status ut… | |
git clone git://src.adamsgaard.dk/spoon | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 372ba92c8be6bf7c9fe6a21290c8cef103158c37 | |
parent 6ada71f97606b0f7fad3dabf842bd575eb2fe9a0 | |
Author: lostd <[email protected]> | |
Date: Thu, 13 Oct 2016 17:39:52 +0200 | |
Sources are fixed, it's the object files we care about | |
Diffstat: | |
M Makefile | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -1,8 +1,11 @@ | |
VERSION = 0.2 | |
PREFIX = /usr/local | |
SRC = spoon.c batt.c wifi.c cpu.c temp.c mix.c date.c load.c\ | |
- strlcpy.c strlcat.c | |
+ strlcpy.c strlcat.c xkblayout.c mpd.c | |
+OBJ = spoon.o batt.o wifi.o cpu.o temp.o mix.o date.o load.o\ | |
+ strlcpy.o strlcat.o | |
BIN = spoon | |
+DISTFILES = $(SRC) util.h config.def.h Makefile LICENSE configure | |
include config.mk | |
t@@ -15,15 +18,12 @@ CPPFLAGS = $(CPPFLAGS_$(UNAME)) | |
LDFLAGS = $(LDFLAGS_$(UNAME)) | |
LDLIBS = -lX11 | |
-SRC += xkblayout.c | |
+OBJ += xkblayout.o | |
LDLIBS += -lxkbfile | |
-SRC += mpd.c | |
+OBJ += mpd.o | |
LDLIBS += -lmpdclient | |
-DISTFILES = $(SRC) util.h config.def.h Makefile LICENSE configure | |
-OBJ = $(SRC:.c=.o) | |
- | |
all: $(BIN) | |
spoon.o: config.h |