fileinfo/Makefile
2024-08-22 00:12:10 +03:00

22 lines
274 B
Makefile

# Makefile
# Compiler
CXX = g++
# Compiler flags
CXXFLAGS = -lmagic
# Output file
OUTPUT = fileinfo
# Source file
SRC = main.cpp
# Rule to compile the program
$(OUTPUT): $(SRC)
$(CXX) $(SRC) $(CXXFLAGS) -o $(OUTPUT)
# Clean up generated files
clean:
rm -f $(OUTPUT)