Makefile revision 78f51585b9ef1095880ddd235a8d41ff9e152fc5
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich# Author: Klaus L�ttich
78f51585b9ef1095880ddd235a8d41ff9e152fc5Christian Maeder# A Makefile to compile DrIFT in a comfortable way for various plattforms.
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich####################################################################
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich## include The uname variable
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich####################################################################
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich## Some varibles, which control the compilation
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich####################################################################
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich####################################################################
78f51585b9ef1095880ddd235a8d41ff9e152fc5Christian Maederinstall: DrIFT.linux DrIFT.solaris DrIFT.macintosh
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich#########################################################
78f51585b9ef1095880ddd235a8d41ff9e152fc5Christian Maeder $$un =~ m"Darwin" && do {print "macintosh"};\
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich $$un =~ m"SunOS" && do {print "solaris"};\
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich $$un =~ m"Linux" && do {print "linux"};\
2c46a8a5b3e825d6d49513c691a55729414c2308Klaus Luettich print "\n"' > $@