aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-06-30 01:36:15 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-06-30 01:36:15 +0100
commit26b9f3de0ffe471e5335b07454147457e373c037 (patch)
tree5480fedbc318d490a4e90c2104d6ba8c26258698 /Makefile
parent7afd296c40a2e8af9477add1c3d02a7c4b444747 (diff)
libdraw now has own repo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 90f178b..0f29652 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ options:
18 @echo CC $< 18 @echo CC $<
19 @${CC} -c ${CFLAGS} $< 19 @${CC} -c ${CFLAGS} $<
20 20
21${OBJ}: config.h config.mk draw/libdraw.a 21${OBJ}: config.h config.mk
22 22
23config.h: 23config.h:
24 @echo creating $@ from config.def.h 24 @echo creating $@ from config.def.h
@@ -28,18 +28,14 @@ config.h:
28 @echo CC -o $@ 28 @echo CC -o $@
29 @${CC} -o $@ $< ${LDFLAGS} 29 @${CC} -o $@ $< ${LDFLAGS}
30 30
31draw/libdraw.a:
32 @cd draw && make
33
34clean: 31clean:
35 @echo cleaning 32 @echo cleaning
36 @rm -f dinput dmenu ${OBJ} dmenu-${VERSION}.tar.gz 33 @rm -f dinput dmenu ${OBJ} dmenu-${VERSION}.tar.gz
37 @cd draw && make clean
38 34
39dist: clean 35dist: clean
40 @echo creating dist tarball 36 @echo creating dist tarball
41 @mkdir -p dmenu-${VERSION} 37 @mkdir -p dmenu-${VERSION}
42 @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run draw ${SRC} dmenu-${VERSION} 38 @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION}
43 @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} 39 @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION}
44 @gzip dmenu-${VERSION}.tar 40 @gzip dmenu-${VERSION}.tar
45 @rm -rf dmenu-${VERSION} 41 @rm -rf dmenu-${VERSION}