--- Makefile.in.orig	2002-10-20 18:30:12 UTC
+++ Makefile.in
@@ -13,13 +13,13 @@ mandir=@mandir@
 bindir=@bindir@
 mandir=@mandir@
 
-GLAXIUM_INSTALLDIR=$(bindir)
+GLAXIUM_INSTALLDIR=$(DESTDIR)$(bindir)
 DATA_DIRS=samples textures
-GLAXIUM_HOME=$(datadir)/games/glaxium
-MAN_DIR=$(mandir)
+GLAXIUM_HOME=$(DESTDIR)$(datadir)/glaxium
+MAN_DIR=$(DESTDIR)$(mandir)
 
 glaxium : $(OBJ)
-	gcc -g -o glaxium $(OBJ) $(LIB)
+	$(CC) -o glaxium $(OBJ) $(LIB)
 
 
 
