Changeset 13


Ignore:
Timestamp:
12/18/06 11:54:45 (13 years ago)
Author:
art
Message:
 
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Bindings/glfw/Makefile

    r12 r13  
    1919TARGET=  libnrEngine_GLFWBinding.so 
    2020INCPATH += -I./ 
    21 CFLAGS += -fPIC -pthread 
     21CFLAGS += -fPIC 
    2222LDFLAGS = -shared -Llib -Wl,-Bstatic -lglfw -Wl,-Bdynamic 
    2323 
  • Make/Makedefs

    r12 r13  
    33#----------------------------------------------- 
    44TOPDIR ?= . 
    5 INCPATH = -I/usr/local/include -I/usr/include 
    6 LIBPATH = -L/usr/local/lib -L/usr/lib 
    75BUILDPATH = build 
    86VPATH =. $(BUILDPATH) 
     
    1311libdir = $(exec_prefix)/lib 
    1412incdir = $(exec_prefix)/include 
     13 
     14INCPATH ?= -I$(prefix)/include -I/usr/local/include -I/usr/include 
     15LIBPATH ?= -L$(prefix)/lib -L/usr/local/lib -L/usr/lib 
    1516 
    1617INST_LOCATION = $(prefix) 
  • Make/Makerules

    r12 r13  
    1313$(TARGET): $(OBJECTS)  
    1414        @ echo -n 'Create $@ ...' 
    15         @ $(CC) $(addprefix $(BUILDPATH)/,$(OBJECTS) ) -o $@ $(LDFLAGS) 
     15        @ $(CC) $(CFLAGS) $(addprefix $(BUILDPATH)/,$(OBJECTS) ) -o $@ $(LDFLAGS) 
    1616        @ echo 'OK' 
    1717 
  • Plugins/luaScripting/Makefile

    r12 r13  
    1818INCPATH += -I../include 
    1919CFLAGS += -fPIC 
    20 LDFLAGS = -shared -L/usr/local/gcc-4.1.1-static/lib -Wl,-Bstatic -lstdc++ -lgcc -lm -Wl,-Bdynamic -llua 
     20LIBS = -llua 
     21#LDFLAGS = $(LIBPATH) -shared -llua 
     22#-L/usr/local/gcc-4.1.1-static/lib -Wl,-Bstatic -lstdc++ -lgcc -lm -Wl,-Bdynamic -llua 
    2123 
    2224# installation definitions 
  • nrEngine/src/Makefile

    r11 r13  
    5555INCPATH += -I../include 
    5656CFLAGS += -fPIC 
    57 LIBS += -ldl -pthread 
     57LIBS += -ldl 
    5858 
    5959# define files for installation 
Note: See TracChangeset for help on using the changeset viewer.