summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-10 16:38:18 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-10 16:38:18 +0200
commit1076f2b6b3d3751d5d5db6fcb9ac8c247e04e893 (patch)
treea00e708e8a396f1836b29671939e9921c682465e /Makefile
initial import
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 00000000..fff5ee1e
--- /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