cours_progra/bac1/q1/livres/ex_cpp/Makefile

17 lines
223 B
Makefile
Raw Normal View History

2022-11-09 16:22:14 +01:00
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