e295febc5c
Simple pointer warping tool for X. Warps the mouse pointer to a given position. ok landry@
35 lines
870 B
Plaintext
35 lines
870 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2012/11/01 14:38:10 zinke Exp $
|
|
--- Makefile.orig Tue Jul 10 16:58:29 2012
|
|
+++ Makefile Tue Jul 10 17:00:52 2012
|
|
@@ -16,15 +16,12 @@ options:
|
|
@echo "LD = ${LD}"
|
|
|
|
.c.o:
|
|
- @echo CC $<
|
|
- @${CC} -c ${CFLAGS} $<
|
|
+ ${CC} -c ${CFLAGS} $<
|
|
|
|
${OBJ}: config.mk
|
|
|
|
swarp: ${OBJ}
|
|
- @echo LD $@
|
|
- @${LD} -o $@ ${OBJ} ${LDFLAGS}
|
|
- @strip $@
|
|
+ ${CC} -o $@ ${OBJ} ${LDFLAGS}
|
|
|
|
clean:
|
|
@echo cleaning
|
|
@@ -39,10 +36,8 @@ dist: clean
|
|
@rm -rf swarp-${VERSION}
|
|
|
|
install: all
|
|
- @echo installing executable file to ${DESTDIR}${PREFIX}/bin
|
|
- @mkdir -p ${DESTDIR}${PREFIX}/bin
|
|
- @cp -f swarp ${DESTDIR}${PREFIX}/bin
|
|
- @chmod 755 ${DESTDIR}${PREFIX}/bin/swarp
|
|
+ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
|
|
+ ${BSD_INSTALL_PROGRAM} swarp ${DESTDIR}${PREFIX}/bin
|
|
|
|
uninstall:
|
|
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
|