Added TOP to point to top of tree to find includes and libs
This commit is contained in:
parent
848ff108a0
commit
676cf71852
|
@ -3,10 +3,11 @@
|
||||||
# These programs aren't intended to be included with the normal
|
# These programs aren't intended to be included with the normal
|
||||||
# distro. They're not too interesting but they're good for testing.
|
# distro. They're not too interesting but they're good for testing.
|
||||||
|
|
||||||
|
TOP = ../..
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -g -I../include
|
CFLAGS = -g -I$(TOP)/include
|
||||||
LIBS = -L../lib -lGL -lGLU -lglut -lm -Wl,-rpath,../lib
|
LIBS = -L$(TOP)/lib -lGL -lGLU -lglut -lm -Wl,-rpath,$(TOP)/lib
|
||||||
|
|
||||||
PROGS = miniglxtest miniglxsample sample_server sample_server2 manytex texline
|
PROGS = miniglxtest miniglxsample sample_server sample_server2 manytex texline
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue