many exports to scriptengine

This commit is contained in:
cirdan
2008-01-24 22:16:53 +00:00
parent 2373b382f1
commit 491c09e235
29 changed files with 600 additions and 287 deletions

View File

@ -42,8 +42,10 @@ else
endif
SRC = $(wildcard */*.cpp) $(wildcard *.cpp)
INC = $(wildcard */*.h) $(wildcard *.h)
OBJ = $(patsubst %.cpp,%.o,$(SRC) )
DEP = $(patsubst %.cpp,%.d,$(SRC) )
GCH = $(patsubst %.h,%.h.gch,$(INC) )
NAME = redcore$(EXT)
@ -54,7 +56,7 @@ $(NAME): $(OBJ)
@g++ -o $(NAME) $(OBJ) $(LDFLAGS)
@echo done
obj: $(OBJ)
obj: $(OBJ)
@echo done
clean:
@ -67,3 +69,7 @@ clean:
-@$(RM) $(NAME)
-include $(SRC:%.cpp=%.d)
%.h.gch: %.h
@echo Compiling $@ ...
@$(CXX) $(CXXFLAGS) -o $@ $<