VMProtect/gnu_simple.mak

13 lines
435 B
Makefile
Raw Permalink Normal View History

2023-05-14 16:21:09 +03:00
OBJECTS:= $(addprefix $(TMP_DIR)/, $(SOURCES:.cc=.o))
clean:
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) $(PCH_CPP)
-$(DEL_FILE) $(BIN_TARGET)
$(BIN_TARGET): $(OBJECTS) $(BIN_DIR)/.sentinel $(OBJCOMP) $(DYLIBS)
$(LINK) $(LFLAGS) -o $(BIN_TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) $(DYLIBS)
$(TMP_DIR)/%.o: %.cc $(PCH_CPP) $(TMP_DIR)/%/../.sentinel
$(CXX) -c -include-pch $(PCH_CPP) $(CXXFLAGS) $(INCFLAGS) -o $(abspath $@) $(abspath $<)