HWBTutorials/aes-intrinsic/Makefile

15 lines
252 B
Makefile
Raw Normal View History

2023-12-19 12:50:31 +00:00
CPPFLAGS = -Ofast
BUILD_DIR = bin
$(BUILD_DIR)/aes: $(BUILD_DIR)/aes.o
mkdir -p $(dir $@)
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $< -o $@
$(BUILD_DIR)/%.o: %.cpp
mkdir -p $(dir $@)
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
clean:
rm -rf $(BUILD_DIR)