cours_progra/bac1/q1/livres/ex_cpp/Makefile
Debucquoy 4fd7542f03
.
2023-09-20 15:18:20 +02:00

17 lines
223 B
Makefile

CXX = c++
CXXFLAGS = -Wall -g
LDFLAGS= -lm
SOURCE_POINTS= points.cpp main.cpp
all: points
points: $(SOURCE_POINTS)
$(CXX) $(CXXFLAGS) -o $@ $(SOURCE_POINTS) $(LDFLAGS)
run: points
./points
clean:
rm -f *.o ./points