From 520f45782d7a8ceb5f5271b9a21171850f016bcc Mon Sep 17 00:00:00 2001 From: fesowowako <118536485+fesowowako@users.noreply.github.com> Date: Sun, 25 Feb 2024 11:34:26 +0200 Subject: Update Makefile --- Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 11a49c4..0c3574e 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,7 @@ include config.mk SRC = drw.c dwm.c util.c OBJ = ${SRC:.c=.o} -all: options dwm - -options: - @echo dwm build options: - @echo "CFLAGS = ${CFLAGS}" - @echo "LDFLAGS = ${LDFLAGS}" - @echo "CC = ${CC}" +all: dwm .c.o: ${CC} -c ${CFLAGS} $< @@ -47,4 +41,4 @@ uninstall: ${DESTDIR}${PREFIX}/share/dwm/larbs.mom\ ${DESTDIR}${MANPREFIX}/man1/dwm.1 -.PHONY: all options clean dist install uninstall +.PHONY: all clean dist install uninstall -- cgit v1.2.3