dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit 3e0a14101605b7d0d19c02bd8fe738aa1427746d
parent cbd8257914a03dfee8716ca24a0199e312e9fe3c
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Wed,  1 Dec 2010 20:23:16 +0000

posix makefile
Diffstat:
MMakefile | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git 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