summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-07-12 11:10:46 +0200
committerMC <mc@hack.org>2010-07-12 11:10:46 +0200
commit1cfb234cca1a9975ad24793dbc2af64adb28dc3b (patch)
tree71d3eb0827506ee2a70e7735149fb69e8b210f24 /Makefile
parent21dd460b4adc5bdd70f6563e2800309efe77edbf (diff)
downloadmcwm-1cfb234cca1a9975ad24793dbc2af64adb28dc3b.zip
Feels like overkill to use mkdep.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 059ab42..107afef 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ LDFLAGS=-L/usr/local/lib -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-atom # -ldmalloc
RM=/bin/rm
PREFIX=/usr/local
-TARGETS=.depend mcwm
+TARGETS=mcwm
OBJS=mcwm.o list.o
all: $(TARGETS)
@@ -22,6 +22,10 @@ mcwm-static: $(OBJS)
$(CC) -o $@ $(OBJS) -static $(CFLAGS) $(LDFLAGS) \
-lxcb-property -lxcb-event -lXau -lXdmcp
+mcwm.o: mcwm.c events.h list.h config.h Makefile
+
+list.o: list.c list.h Makefile
+
install: $(TARGETS)
install -m 755 mcwm $(PREFIX)/bin
@@ -42,8 +46,3 @@ clean:
distclean: clean
$(RM) -f $(DIST).tar.bz2
-
-.depend:
- mkdep $(CFLAGS) $(SRC)
-
-depend: .depend