changeset: 383:de7868d469f2
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Wed Dec 01 20:23:16 2010 +0000
files: Makefile
description:
posix makefile
diff -r a79e4a9cb167 -r de7868d469f2 Makefile
--- a/Makefile Sat Nov 20 09:25:08 2010 +0000
+++ b/Makefile Wed Dec 01 20:23:16 2010 +0000
@@ -12,15 +12,16 @@
@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
Received on Wed Dec 01 2010 - 21:23:22 CET
This archive was generated by hypermail 2.2.0 : Wed Dec 01 2010 - 21:24:04 CET