Hyprdoctor/Makefile

22 lines
267 B
Makefile
Raw Normal View History

2023-11-30 17:54:31 +00:00
# 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)