Update.
This commit is contained in:
		
							parent
							
								
									877ea823ea
								
							
						
					
					
						commit
						b4360a9d6b
					
				
							
								
								
									
										11
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Makefile
									
									
									
									
									
								
							| @ -9,8 +9,11 @@ MINGW_CC = x86_64-w64-mingw32-gcc  # Change to x86_64-w64-mingw32-gcc for 64-bit | |||||||
| MINGW_CFLAGS = -Ofast -Werror -Wall -lreadline -lcurl -lssl -lcrypto -ljson-c -lm -lglob | MINGW_CFLAGS = -Ofast -Werror -Wall -lreadline -lcurl -lssl -lcrypto -ljson-c -lm -lglob | ||||||
| 
 | 
 | ||||||
| # Targets
 | # Targets
 | ||||||
| build:  | build: publish  | ||||||
| 	$(CC) main.c $(CFLAGS) -o bin/r  | 	$(CC) main.c $(CFLAGS) -o bin/r  | ||||||
|  | 	cp bin/r r | ||||||
|  | 
 | ||||||
|  | appimage: | ||||||
| 	-@rm -rf AppImage	 | 	-@rm -rf AppImage	 | ||||||
| 	mkdir -p AppImage | 	mkdir -p AppImage | ||||||
| 	mkdir -p AppImage/usr  | 	mkdir -p AppImage/usr  | ||||||
| @ -26,7 +29,11 @@ build: | |||||||
| 	mv r-x86_64.AppImage r | 	mv r-x86_64.AppImage r | ||||||
| 
 | 
 | ||||||
| publish: | publish: | ||||||
| 	-@publish r | 	curl -OJ https://retoor.molodetz.nl/api/packages/retoor/generic/publish/1.0.0/publish | ||||||
|  | 	chmod +x publish  | ||||||
|  | 	./publish r | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| build_rpylib: | build_rpylib: | ||||||
| 	$(CC) -shared -o rpylib.so -fPIC rpylib.c -lpython3.12 `python3-config --includes` -I/usr/include/CL -ljson-c -lcurl -lsqlite3 | 	$(CC) -shared -o rpylib.so -fPIC rpylib.c -lpython3.12 `python3-config --includes` -I/usr/include/CL -ljson-c -lcurl -lsqlite3 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user