diff --git a/Makefile b/Makefile index 322d07e..7c36b4b 100644 --- a/Makefile +++ b/Makefile @@ -16,11 +16,14 @@ OBJS = $(SRCS:.cpp=.o) default: compile -compile: $(OBJS) +compile: $(OBJS) out $(CXX) $(CXXFLAGS) $(OBJS) $(LDFLAGS) -o $(TARGET) %.o: %.cpp $(CXX) $(CXXFLAGS) -c $< -o $@ clean: - rm $(TARGET) \ No newline at end of file + rm $(TARGET) $(OBJS) + +out: + mkdir out \ No newline at end of file