many exports to scriptengine
This commit is contained in:
@ -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 $@ $<
|
||||
|
Reference in New Issue
Block a user