From 9ea9bea09681270de9922eddcbc111dcbdac077d Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Sun, 25 Nov 2012 23:05:04 +0100 Subject: Fix Makefile --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 3d92896..a4c6c81 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,7 @@ include ../config.mk -DESTDIR ?= / PREFIX ?= /usr/local +INSTALL ?= install CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE CFLAGS += -W -Wall -O2 -pedantic -std=c99 @@ -18,7 +18,7 @@ $(BIN): $(OBJS) Makefile ../config.mk %.o: %.c Makefile ../config.mk $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< -install: +install: $(BIN) $(INSTALL) -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin/ uninstall: -- cgit v1.2.3