summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-08-06 18:04:32 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-08-06 18:04:32 +0000
commit676cf71852162fe483bd14ca088a7a124ec2fdfd (patch)
tree3247bf299fd8a6283b93d1fbd490f61f1c30c277
parent848ff108a06c1a8171bab879669c08c9274908f5 (diff)
Added TOP to point to top of tree to find includes and libs
-rw-r--r--progs/miniglx/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/progs/miniglx/Makefile b/progs/miniglx/Makefile
index 48923ebcff..5a781396c7 100644
--- a/progs/miniglx/Makefile
+++ b/progs/miniglx/Makefile
@@ -3,10 +3,11 @@
# These programs aren't intended to be included with the normal
# distro. They're not too interesting but they're good for testing.
+TOP = ../..
CC = gcc
-CFLAGS = -g -I../include
-LIBS = -L../lib -lGL -lGLU -lglut -lm -Wl,-rpath,../lib
+CFLAGS = -g -I$(TOP)/include
+LIBS = -L$(TOP)/lib -lGL -lGLU -lglut -lm -Wl,-rpath,$(TOP)/lib
PROGS = miniglxtest miniglxsample sample_server sample_server2 manytex texline