HWBTutorials/aes-performance/aes-tboxes/Makefile

15 lines
253 B
Makefile
Raw Permalink Normal View History

2023-12-19 15:47:51 +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)