aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-07-30 13:40:56 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-07-30 13:40:56 +0100
commit7d5fe17391fefd978eab281a6cbebe2aa601e9ce (patch)
tree07d003a35241fb2c24e66fc30498c16ccdb39be2 /Makefile
parent7f36736d11418b0b11d02da8aa0cb663406706c2 (diff)
downloaddmenu-7d5fe17391fefd978eab281a6cbebe2aa601e9ce.tar.gz
dmenu-7d5fe17391fefd978eab281a6cbebe2aa601e9ce.tar.bz2
dmenu-7d5fe17391fefd978eab281a6cbebe2aa601e9ce.zip
merged dmenu & dinput (clunky interface)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 7274923..0d16e38 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
include config.mk
-SRC = dinput.c dmenu.c common.c
+SRC = dmenu.c
OBJ = ${SRC:.c=.o}
all: options dinput dmenu
@@ -24,17 +24,13 @@ config.h:
@echo creating $@ from config.def.h
@cp config.def.h $@
-dinput: dinput.o common.o
- @echo CC -o $@
- @${CC} -o $@ $+ ${LDFLAGS}
-
-dmenu: dmenu.o common.o
+dmenu: ${OBJ}
@echo CC -o $@
@${CC} -o $@ $+ ${LDFLAGS}
clean:
@echo cleaning
- @rm -f dinput dmenu ${OBJ} dmenu-${VERSION}.tar.gz
+ @rm -f dmenu ${OBJ} dmenu-${VERSION}.tar.gz
dist: clean
@echo creating dist tarball
@@ -47,8 +43,7 @@ dist: clean
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f dinput dmenu dmenu_path dmenu_run ${DESTDIR}${PREFIX}/bin
- @chmod 755 ${DESTDIR}${PREFIX}/bin/dinput
+ @cp -f dmenu dmenu_path dmenu_run ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu
@chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_path
@chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_run
@@ -60,7 +55,7 @@ install: all
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
@rm -f ${DESTDIR}${PREFIX}/bin/dmenu ${DESTDIR}${PREFIX}/bin/dmenu_path
- @rm -f ${DESTDIR}${PREFIX}/bin/dinput ${DESTDIR}${PREFIX}/bin/dmenu_run
+ @rm -f ${DESTDIR}${PREFIX}/bin/dmenu_run
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
@rm -f ${DESTDIR}${MANPREFIX}/man1/dmenu.1