mirror of
				https://github.com/SteamDeckHomebrew/decky-plugin-template.git
				synced 2025-11-03 15:52:25 -06:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 
								 | 
							
								# This is the default target, which will be built when 
							 | 
						||
| 
								 | 
							
								# you invoke make
							 | 
						||
| 
								 | 
							
								.PHONY: all
							 | 
						||
| 
								 | 
							
								all: hello
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# This rule tells make how to build hello from hello.cpp
							 | 
						||
| 
								 | 
							
								hello:
							 | 
						||
| 
								 | 
							
									mkdir -p ./out
							 | 
						||
| 
								 | 
							
									gcc -o ./out/hello ./src/main.c 
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# This rule tells make to delete hello and hello.o
							 | 
						||
| 
								 | 
							
								.PHONY: clean 
							 | 
						||
| 
								 | 
							
								clean:
							 | 
						||
| 
								 | 
							
									rm -f hello
							 |