blob: de788e8aa774545a819fab619bdd824eec4be686 [file] [log] [blame]
diff --git a/Makefile.in b/Makefile.in
index 2a67b3c..651323d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -42,7 +42,7 @@ LIBS= @LIBS@
all: $(TARGET)
$(TARGET): $(TARGET).c config.h
- $(CC) $(CFLAGS) -o $@ $(@:%=%.c) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(@:%=%.c) $(LIBS)
all-optimized: $(TARGET)-optimized
@@ -98,9 +98,10 @@ cleanall: clean
mrproper: cleanall
distclean: cleanall
+BUILD_ROOT=$(DESTDIR)
install:
$(INSTALL) -d -m 755 $(BUILD_ROOT)$(BIN_DIR)
- $(INSTALL) -m 755 -s $(TARGET) $(BUILD_ROOT)$(BIN_DIR)
+ $(INSTALL) -m 755 $(TARGET) $(BUILD_ROOT)$(BIN_DIR)
tarball:
$(INSTALL) -d -m 755 ./$(PACKAGE_NAME)-$(PACKAGE_VERSION)