--- Makefile.orig	2009-10-09 08:58:25.000000000 -0500
+++ Makefile	2012-01-02 21:19:58.000000000 -0600
@@ -1,5 +1,8 @@
 # Makefile for symlinks
 
+PREFIX = /usr/local
+DESTDIR = 
+
 CC = gcc
  
 all: symlinks
@@ -8,8 +11,8 @@
 	$(CC) -Wall -Wstrict-prototypes -O2 ${CFLAGS} -o symlinks symlinks.c
  
 install: all symlinks.8
-	install -m 755 -o root -g root symlinks /usr/local/bin
-	install -m 644 -o root -g root symlinks.8 /usr/local/man/man8
+	install -m 755 symlinks $(DESTDIR)$(PREFIX)/bin
+	install -m 644 symlinks.8 $(DESTDIR)$(PREFIX)/share/man/man8
 
 clean:
 	rm -f symlinks *.o core
