Acme-MITHALDU-BleedingOpenGL

 view release on metacpan or  search on metacpan

utils/Makefile.macosx  view on Meta::CPAN

#!make

CC=cc
# Should not be using local includes on non-win32 systems
# CCFLAGS=-I/usr/X11/include -I../include
CCFLAGS=  # no includes needed, Apple GCC will automatically pick up system frameworks
LINK=cc
LDFLAGS=-framework AGL -framework OpenGL -framework GLUT

all: glversion.txt

clean:
	rm -f glversion.txt
	rm -f glversion
	rm -f glversion.o

glversion.txt: glversion
	./$< > $@

glversion: glversion.o
	${LINK} ${LDFLAGS} -o $@ $<
	chmod u+x $@

%.o: %.c
	${CC} -Wno-deprecated-declarations ${CCFLAGS} -c $<



( run in 0.713 second using v1.01-cache-2.11-cpan-39bf76dae61 )