Acme-MITHALDU-BleedingOpenGL
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
{
$exec = "copy FreeGLUT\\freeglut.dll $dll_dir";
}
`$exec`;
if (! -x "$dll_dir/freeglut.dll")
{
my $mode = (stat("$dll_dir/freeglut.dll"))[2];
my $perm = $mode & 07777;
print "freeglut.dll not executable (perms=%4o), changing permissions...\n";
chmod $perm|0755, "$dll_dir/freeglut.dll" or warn "Error changing freeglut.dll perms: $!";
}
if (-e "$dll_dir/freeglut.dll")
{
print "Installed freeglut.dll at $dll_dir\n";
$found->{FREEGLUT32} = 'freeglut'
}
else
{
utils/Makefile view on Meta::CPAN
EXTRALIBS=-lGLU -lXi -lXmu -lXext -lX11 -lm
all: glversion.txt
glversion.txt: glversion
./glversion > glversion.txt
glversion: glversion.o
${LINK} glversion.o ${LDFLAGS} ${EXTRALIBS} -o glversion
chmod u+x glversion
clean:
rm -f glversion.txt
rm -f glversion
rm -f glversion.o
.c.o:
${CC} ${CCFLAGS} -c $<
utils/Makefile.cygwin view on Meta::CPAN
clean:
rm -f glversion.txt
rm -f glversion.exe
rm -f glversion.o
glversion.txt: glversion
./$< > $@
glversion: glversion.o
${LINK} -o $@ $< ${LDFLAGS}
chmod u+x $@
%.o: %.c Makefile.cygwin
${CC} ${CCFLAGS} -c $<
utils/Makefile.macosx view on Meta::CPAN
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.256 second using v1.01-cache-2.11-cpan-496ff517765 )