mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-05 18:10:09 +03:00
* Update the makefile as was done on the devel branch.
This commit is contained in:
24
Makefile
24
Makefile
@@ -48,22 +48,22 @@ $(TARGET): $(OBJ_FILES)
|
||||
#include header dependencies
|
||||
-include $(DEP_FILES)
|
||||
|
||||
$(BLD_DIR)/p/%.o: $(PLT_DIR)/%.cpp
|
||||
@mkdir -p $(dir $@)
|
||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
$(BLD_DIR)/r/%.o: $(RKN_DIR)/%.cpp
|
||||
@mkdir -p $(dir $@)
|
||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
$(BLD_DIR)/z/%.o: $(ZLB_DIR)/%.c
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) $(ZLIBFLAGS) -c -o $@ $<
|
||||
|
||||
$(BLD_DIR)/s/%.o: $(SRC_DIR)/%.cpp
|
||||
@mkdir -p $(dir $@)
|
||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
$(BLD_DIR)/p/%.o: $(PLATFORM_DIR)/%.cpp
|
||||
@mkdir -p $(dir $@)
|
||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
$(BLD_DIR)/r/%.o: $(RAKNET_DIR)/%.cpp
|
||||
@mkdir -p $(dir $@)
|
||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
$(BLD_DIR)/z/%.o: $(ZLIB_DIR)/%.c
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) $(ZLIBFLAGS) -c -o $@ $<
|
||||
|
||||
program: $(TARGET)
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user