about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-12-01 20:23:16 +0000
committerConnor Lane Smith <cls@lubutu.com>2010-12-01 20:23:16 +0000
commit3e0a14101605b7d0d19c02bd8fe738aa1427746d (patch)
treea1442582660fc579c1d92a42730ff298f23d37ec /Makefile
parentAdded tag 4.2.1 for changeset abb6579a324f (diff)
downloaddmenu-3e0a14101605b7d0d19c02bd8fe738aa1427746d.tar.gz
dmenu-3e0a14101605b7d0d19c02bd8fe738aa1427746d.tar.bz2
dmenu-3e0a14101605b7d0d19c02bd8fe738aa1427746d.zip
posix makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c3934e7..c0e7856 100644
--- a/Makefile
+++ b/Makefile
@@ -12,15 +12,16 @@ options:
 	@echo "CC       = ${CC}"
 
 dmenu: dmenu.o draw.o
-dmenu_path: dmenu_path.o
+	@echo CC -o $@
+	@${CC} -o $@ dmenu.o draw.o ${LDFLAGS}
 
 .c.o: config.mk
 	@echo CC -c $<
 	@${CC} -c $< ${CFLAGS}
 
-dmenu dmenu_path:
+.o:
 	@echo CC -o $@
-	@${CC} -o $@ $+ ${LDFLAGS}
+	@${CC} -o $@ $< ${LDFLAGS}
 
 clean:
 	@echo cleaning