D3 part 1
This commit is contained in:
		
							
								
								
									
										20
									
								
								2023/d3/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								2023/d3/Makefile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| .PHONY: clean, mrproper, run | ||||
| CC = gcc | ||||
| CFLAGS = -g -Wall | ||||
|  | ||||
| all: d3 | ||||
|  | ||||
| %.o: %.c | ||||
| 	$(CC) $(CFLAGS) -c -o $@ $< | ||||
|  | ||||
| d3: d3.o | ||||
| 	$(CC) $(CFLAGS) -o $@ $+ | ||||
|  | ||||
| clean: | ||||
| 	rm -f *.o core.* | ||||
|  | ||||
| mrproper: clean | ||||
| 	rm -f d3 | ||||
|  | ||||
| run: d3 | ||||
| 	./$< | ||||
		Reference in New Issue
	
	Block a user