.
This commit is contained in:
		
							
								
								
									
										16
									
								
								bac1/q1/livres/ex_cpp/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								bac1/q1/livres/ex_cpp/Makefile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | ||||
| 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 | ||||
		Reference in New Issue
	
	Block a user