sgl

diff Makefile.in @ 5:0570e27e5ebc

pretty much done with the basic functionality and GLX shit
author John Tsiombikas <nuclear@siggraph.org>
date Fri, 13 May 2011 07:49:47 +0300
parents e55e71da991d
children edbfc96fe80d
line diff
     1.1 --- a/Makefile.in	Thu May 12 11:04:10 2011 +0300
     1.2 +++ b/Makefile.in	Fri May 13 07:49:47 2011 +0300
     1.3 @@ -8,7 +8,7 @@
     1.4  somajor = 0
     1.5  sominor = 0
     1.6  
     1.7 -lib_so_unix = $(soname).$(minor)
     1.8 +lib_so_unix = $(soname).$(sominor)
     1.9  lib_so_mac = libsgl.dylib
    1.10  
    1.11  sharedopt_unix = -shared -Wl,-soname,$(soname)
    1.12 @@ -23,6 +23,7 @@
    1.13  AR = ar
    1.14  CC = gcc
    1.15  CFLAGS = -pedantic -Wall -g -fPIC -Iinclude -Isrc
    1.16 +LDFLAGS = -lX11
    1.17  
    1.18  .PHONY: all
    1.19  all: $(lib_so) $(lib_a)
    1.20 @@ -31,7 +32,7 @@
    1.21  	$(AR) rcs $@ $(obj)
    1.22  
    1.23  $(lib_so): $(obj)
    1.24 -	$(CC) $(sharedopt_$(sys)) -o $@ $(obj)
    1.25 +	$(CC) $(sharedopt_$(sys)) -o $@ $(obj) $(LDFLAGS)
    1.26  
    1.27  -include $(dep)
    1.28