forked from bonsai/harakit
		
	minor changes to license headers and to compilation
This commit is contained in:
		
							parent
							
								
									b57a7179a5
								
							
						
					
					
						commit
						ede0817cbd
					
				
							
								
								
									
										9
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| # Copyright (c) 2023 YAC
 | ||||
| # Copyright (c) 2023 Emma Tebibyte
 | ||||
| # SPDX-License-Identifier: FSFAP
 | ||||
| #
 | ||||
| # Copying and distribution of this file, with or without modification, are
 | ||||
| @ -8,6 +8,7 @@ | ||||
| .POSIX: | ||||
| 
 | ||||
| PREFIX=/usr/local/bin | ||||
| CFLAGS=-O3 -s -Wl,-z,noseparate-code,-z,nosectionheader -flto | ||||
| 
 | ||||
| build: build_dir cat false true | ||||
| 
 | ||||
| @ -15,13 +16,13 @@ clean: build_dir | ||||
| 	rm -rf build/ | ||||
| 
 | ||||
| cat: build_dir | ||||
| 	cc -o build/cat src/cat.c | ||||
| 	cc $(CFLAGS) -o build/cat src/cat.c | ||||
| 
 | ||||
| false: build_dir | ||||
| 	cc -o build/false src/false.c | ||||
| 	cc $(CFLAGS) -o build/false src/false.c | ||||
| 
 | ||||
| true: build_dir | ||||
| 	cc -o build/true src/true.c | ||||
| 	cc $(CFLAGS) -o build/true src/true.c | ||||
| 
 | ||||
| build_dir: | ||||
| 	mkdir -p build | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| /*
 | ||||
|  * Copyright (c) 2023 YAC | ||||
|  * Copyright (c) 2023 Emma Tebibyte | ||||
|  * SPDX-License-Identifier: AGPL-3.0-or-later | ||||
|  * | ||||
|  * This file is part of YAC coreutils. | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| /*
 | ||||
|  * Copyright (c) 2023 YAC | ||||
|  * Copyright (c) 2023 Emma Tebibyte | ||||
|  * SPDX-License-Identifier: AGPL-3.0-or-later | ||||
|  * | ||||
|  * This file is part of YAC coreutils. | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| /*
 | ||||
|  * Copyright (c) 2023 YAC | ||||
|  * Copyright (c) 2023 Emma Tebibyte | ||||
|  * SPDX-License-Identifier: AGPL-3.0-or-later | ||||
|  * | ||||
|  * This file is part of YAC coreutils. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user