Hyprdoctor/Makefile
2023-11-30 20:54:31 +03:00

22 lines
267 B
Makefile

# compiler settings
CXX = g++
CXXFLAGS = -Wall -std=c++11
# general variables
TARGET = main
SRC = main.cpp
OBJ = $(SRC:.cpp=.o)
# Default target
all: $(TARGET)
# compile
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $<
# cleanup
.PHONY: clean
clean:
rm -f $(OBJ) $(TARGET)