diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
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 |