Makefile.freeglut 679 Bytes
Newer Older
1 2 3 4 5 6 7
# FreeBSD
# Glut windows
# totally untested, just a guide...

CPU = free
WINSYS = glut
ARCH = $(CPU)$(WINSYS)
8
CFLAGS = -DFONTHACK -DHYPGLUT -DHYPFREE -DGL_GLEXT_LEGACY -g -DNAMESPACEHACK=''
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
LDLIBS  =  -L../../src/$(ARCH) -L/usr/X11R6/lib  -l$(LIBRARY)$(ARCH) -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm
INCDIRS = -I../include -I../../include -I/usr/X11R6/include 

SUBDIRS = src examples/glut

CC = /usr/bin/g++
LD = /usr/bin/cc
AR = /usr/bin/ar rv
MKDIR = /bin/mkdir 
RM = /bin/rm -rf
MAKE = /usr/local/bin/gmake
INSTALL = /usr/bin/install
INSTLIBDIR = /usr/local/lib
INSTBINDIR = /usr/local/bin

OBJSUFFIX = .o
LIBSUFFIX = .a
LIBPREFIX = lib

_library:
	$(AR) $(LIBNAME) $(OBJS)