From de58c2e89c6d38ae21e12b83902defa171b0b635 Mon Sep 17 00:00:00 2001 From: ZoRo Date: Sun, 5 Apr 2020 16:31:20 +0100 Subject: Updated font ascii/utf8 --- Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1b3ac07 --- /dev/null +++ b/Makefile @@ -0,0 +1,44 @@ +CC=clang +CFLAGS=-I. +LDFLAGS=-lX11 +SRC= dwmstatus.c status/time.c status/date.c status/temp.c status/batt.c status/cpu.c +OBJ= ${SRC:.c=.o} + + +#include status/make.mk + + +.c.o: + @echo CC $< + @${CC} ${CFLAGS} -o $@ -c $< + +dwmstatus: ${OBJ} + @echo CC -o $@ + @${CC} -o $@ ${OBJ} ${LDFLAGS} + + +kconfig2h: + $(CC) -c kconf2h/kconf2h_parser.c + $(CC) kconf2h/kconf2h.c kconf2h_parser.o -o kconf2h/kconf2h + +menuconfig: kconfig2h + ./mconf Kconfig + kconf2h/kconf2h .config kconfig.h + +leak: + valgrind --leak-check=full --time-stamp=yes --track-origins=yes --log-file=log.txt ./dwmstatus + +pack: dwmstatus + strip ./dwmstatus + upx ./dwmstatus + +clean: + rm -rf dwmstatus + rm -rf *.o + rm -rf status/*.o + +test: + DISPLAY=:1.0 + xinit ./dwm $* -- :1 + + -- cgit v1.2.3