From 855e16e9f502606d714faa441b4117493df8ada9 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Wed, 5 Oct 2011 02:20:48 +0000 Subject: [PATCH] added /usr/local/include and /usr/local/lib to the paths for the example programs git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@122 ef983eb1-d774-4af8-acfd-baaf7b16a646 --- examples/cube/Makefile | 4 ++-- examples/simple/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/cube/Makefile b/examples/cube/Makefile index 39249a3..07ea805 100644 --- a/examples/cube/Makefile +++ b/examples/cube/Makefile @@ -2,8 +2,8 @@ obj = cube.o vmath.o bin = cube CC = gcc -CFLAGS = -pedantic -Wall -g -I../.. -LDFLAGS = -L../.. -lX11 -lGL -lGLU -lm -lspnav +CFLAGS = -pedantic -Wall -g -I../.. -I/usr/local/include +LDFLAGS = -L../.. -L/usr/local/lib -lX11 -lGL -lGLU -lm -lspnav $(bin): $(obj) $(CC) -o $@ $(obj) $(LDFLAGS) diff --git a/examples/simple/Makefile b/examples/simple/Makefile index 0cb7ac1..d2f4268 100644 --- a/examples/simple/Makefile +++ b/examples/simple/Makefile @@ -1,6 +1,6 @@ CC = gcc -CFLAGS = -pedantic -Wall -g -I../.. -LDFLAGS = -L../.. -lspnav -lX11 +CFLAGS = -pedantic -Wall -g -I../.. -I/usr/local/include +LDFLAGS = -L../.. -L/usr/local/lib -lspnav -lX11 .PHONY: all all: simple_x11 simple_af_unix