Caesar/makefile
xoy 597d48ba0f [First commit]
Basic caesar encryption.
2024-06-13 17:02:39 +02:00

21 lines
262 B
Makefile

CXX = g++
CXXFLAGS = -std=c++11 -Wall
TARGET = caesar
SRCS = main.cpp caesar.cpp
OBJS = $(SRCS:.cpp=.o)
$(TARGET): $(OBJS)
$(CXX) $(CXXFLAGS) $(OBJS) -o $(TARGET)
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $< -o $@
clean:
rm -f $(OBJS) $(TARGET)
.PHONY: clean