Compiling Garlic on Apple McIntosh


garlic, free molecular visualization program, protein structure, DNA structure, PDB, molecular rendering, biological macromolecule, unix, linux, free software download, open source software, Damir Zucic.
Here you can read how to compile garlic for Apple MacIntosh running Xtools from Tenon . I would like to thank Chris from Macinchem for this contribution. Chris is also porting other chemistry related programs to Apple MaxIntosh. Please visit his Macinchem site:
http://www.macinchem.fsnet.co.uk/macosx.htm

If you don't have access to Chris site, here is the important part:

... This was my first port, it requires X-Tools from Tenon.
Minor modifications of the Makefile (highlighted in red below) allow
compilation ...

        CC = gcc 

        CCOPT = -O -I/usr/X11R6/include

        #CCOPT = -O3

        #CCOPT = -ansi -pedantic -O -Wall -Wstrict-prototypes -g3

        HEADERS = defines.h typedefs.h

        LIBPATH = -L/usr/X11R6/lib

        LINKOPT = -lX11 -lm