HWBTutorials/aes-32bit/Makefile

15 lines
255 B
Makefile
Raw Normal View History

2023-12-12 18:24:25 +00:00
CPPFLAGS = -g -Ofast
2023-12-12 17:18:55 +00:00
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)