Make from a single config file; Remove dist option
This commit is contained in:
@@ -16,14 +16,11 @@ options:
|
||||
@echo "LDFLAGS = ${LDFLAGS}"
|
||||
@echo "CC = ${CC}"
|
||||
|
||||
dwmblocks: dwmblocks.c blocks.def.h blocks.h
|
||||
dwmblocks: dwmblocks.c blocks.h
|
||||
${CC} -o dwmblocks dwmblocks.c ${CFLAGS} ${LDFLAGS}
|
||||
|
||||
blocks.h:
|
||||
cp blocks.def.h $@
|
||||
|
||||
clean:
|
||||
rm -f *.o *.gch dwmblocks blocks.h
|
||||
rm -f *.o *.gch dwmblocks
|
||||
|
||||
install: dwmblocks
|
||||
mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
|
||||
static const Block blocks[] = {
|
||||
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
||||
{"", "sb-network", 10, 0},
|
||||
{"", "sb-battery", 20, 0},
|
||||
{"", "sb-volume", 0, 10},
|
||||
{"", "sb-cpu", 5, 0},
|
||||
{"", "sb-memory", 10, 0},
|
||||
{" ", "date '+%d/%m/%y (%a) %I:%M%p'", 60, 0},
|
||||
};
|
||||
|
||||
//sets delimiter between status commands. NULL character ('\0') means no delimiter.
|
||||
static char delim[] = " | ";
|
||||
static unsigned int delimLen = 5;
|
||||
|
||||
Reference in New Issue
Block a user