aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fff5ee1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+# gridwm - grid window manager
+# (C)opyright MMVI Anselm R. Garbe
+
+include config.mk
+
+SRC = wm.c
+OBJ = ${SRC:.c=.o}
+
+all: gridwm
+ @echo finished
+
+.c.o:
+ @echo CC $<
+ @${CC} -c ${CFLAGS} $<
+
+${OBJ}: wm.h
+
+gridwm: ${OBJ}
+ @echo LD $@
+ @${CC} -o $@ ${OBJ} ${X11LDFLAGS}
+
+clean:
+ rm -f gridwm *.o