Changeset 8 for Plugins


Ignore:
Timestamp:
12/15/2006 09:55:42 AM (13 years ago)
Author:
art
Message:

dded Makefiles for compilation and cleaning

Location:
Plugins
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • Plugins/luaScripting/Makefile

    r5 r8  
    1 CC=/usr/local/gcc-4.1.1-static/bin/g++  
    2 CCFLAGS=-O2 -Wall -Werror -fPIC 
     1TOPDIR= ../.. 
    32 
    4 all: 
    5         $(CC) $(CCFLAGS) -o build/Plugin.os -c Plugin.cpp 
    6         $(CC) $(CCFLAGS) -o build/ScriptConnector.os -c ScriptConnector.cpp 
    7         $(CC) $(CCFLAGS) -o build/ScriptLoader.os -c ScriptLoader.cpp 
    8         $(CC) $(CCFLAGS) -o build/Script.os -c Script.cpp 
    9         $(CC) -shared -o libluaScripting.so build/Plugin.os build/ScriptConnector.os build/ScriptLoader.os build/Script.os -L/usr/local/gcc-4.1.1-static/lib -lstdc++ -llua -lm 
     3#----------------------------------------------- 
     4# Include defs for defining the variables 
     5#----------------------------------------------- 
     6include $(TOPDIR)/Makedefs 
     7 
     8#----------------------------------------------- 
     9# We have to built this files into the library 
     10#----------------------------------------------- 
     11CPPFILES= Plugin.cpp\ 
     12        Script.cpp\ 
     13        ScriptConnector.cpp\ 
     14        ScriptLoader.cpp 
     15                         
     16TARGET=  luaScripting.so 
     17 
     18INCPATH += -I../include 
     19CFLAGS += -fPIC 
     20LIBS += -llua 
     21 
     22#----------------------------------------------- 
     23# Include rules for handling the objects 
     24#----------------------------------------------- 
     25include $(TOPDIR)/Makerules 
     26sinclude make.dep 
Note: See TracChangeset for help on using the changeset viewer.