fixed makefile

There was a bug in the makefile which was not installing the binary correctly.
This is now fixed.
This commit is contained in:
William Hubbs 2008-08-03 10:35:31 -05:00
commit c7bece776d

View file

@ -1,14 +1,18 @@
CC = cc
INSTALL = /usr/bin/install
RM = /bin/rm
PREFIX = /usr
BINDIR = $(PREFIX)/bin
LDLIBS = -lespeak
PROGRAM = espeakup
all: espeakup
all: $(PROGRAM)
install: espeakup
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(BINDIR)
clean:
rm $(PROGRAM)
install: $(PROGRAM)
install -m 0755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
$(RM) espeakup