aboutsummaryrefslogtreecommitdiff
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
parentcbd8257914a03dfee8716ca24a0199e312e9fe3c (diff)
posix 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:
12 @echo "CC = ${CC}" 12 @echo "CC = ${CC}"
13 13
14dmenu: dmenu.o draw.o 14dmenu: dmenu.o draw.o
15dmenu_path: dmenu_path.o 15 @echo CC -o $@
16 @${CC} -o $@ dmenu.o draw.o ${LDFLAGS}
16 17
17.c.o: config.mk 18.c.o: config.mk
18 @echo CC -c $< 19 @echo CC -c $<
19 @${CC} -c $< ${CFLAGS} 20 @${CC} -c $< ${CFLAGS}
20 21
21dmenu dmenu_path: 22.o:
22 @echo CC -o $@ 23 @echo CC -o $@
23 @${CC} -o $@ $+ ${LDFLAGS} 24 @${CC} -o $@ $< ${LDFLAGS}
24 25
25clean: 26clean:
26 @echo cleaning 27 @echo cleaning