summaryrefslogtreecommitdiff
path: root/app-misc/mouseremote/files/mouseremote-0.90-makefile.patch
blob: 560740c67a2edf981fa1b2af83e9b03e66f73f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/MultiMouse/Makefile
+++ b/MultiMouse/Makefile
@@ -20,14 +20,13 @@
 	-DMOUSE_FIFO=\"$(FIFO)\"\
 	-DLOCKDIR=\"$(LOCKDIR)\"\
 	-DMAX_MICE=$(MICE)
-CFLAGS=	$(OPTS)\
-	-O2 # -DDEBUG
-LDLAGS=	-O2
+
+OUTPUT_OPTION= $(OPTS) -o $@
 
 all:	$(TARGET)
 
 multimoused:	$(OBJS)
-	$(CC) -o $@ $(OBJS)
+	$(CC) $(LDFLAGS) -o $@ $(OBJS)
 
 multimouse.1 multimoused.8 multimouse:	Makefile
 	sed -e 's|%LOCKDIR%|$(LOCKDIR)|' -e 's|%BINDIR%|$(BINDIR)|'\