summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2004-02-08 22:01:26 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:44 +0200
commit43026c6e63bae9fe3848be7ff55315cc99aade1a (patch)
tree86f0d549d5177196abad5180621e8e0113be201f /Makefile
parent173ce7d90bafce6fec77dd66d3baa7f993226cc5 (diff)
Makefile cleanup. Removed DRIVER variable. Removed reference
to undefined variable EXTRALIBRARYDEPS.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 77641aa..8fc00ae 100644
--- a/Makefile
+++ b/Makefile
@@ -43,15 +43,13 @@ LDCOMBINEFLAGS = -r
SRCS = synaptics.c ps2comm.c
OBJS = synaptics.o ps2comm.o
-DRIVER = synaptics
-
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
-all:: $(DRIVER)_drv.o synclient syndaemon
+all:: synaptics_drv.o synclient syndaemon
-install: $(BINDIR)/synclient $(BINDIR)/syndaemon $(INSTALLED_X)/lib/modules/input/$(DRIVER)_drv.o install-man
+install: $(BINDIR)/synclient $(BINDIR)/syndaemon $(INSTALLED_X)/lib/modules/input/synaptics_drv.o install-man
install-man: $(MANDIR)/synclient.1 $(MANDIR)/syndaemon.1
@@ -67,10 +65,10 @@ $(BINDIR)/synclient : synclient
$(BINDIR)/syndaemon : syndaemon
cp $< $@
-$(INSTALLED_X)/lib/modules/input/$(DRIVER)_drv.o : $(DRIVER)_drv.o
+$(INSTALLED_X)/lib/modules/input/synaptics_drv.o : synaptics_drv.o
cp $< $@
-$(DRIVER)_drv.o: $(OBJS) $(EXTRALIBRARYDEPS)
+synaptics_drv.o: $(OBJS)
$(RM) $@
$(LD) $(LDCOMBINEFLAGS) $(OBJS) -o $@