Got the windows build mostly working
This commit is contained in:
		
							parent
							
								
									14fd15f776
								
							
						
					
					
						commit
						4ec13d8dff
					
				
							
								
								
									
										1
									
								
								01_text_adventure/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								01_text_adventure/.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1,2 @@ | |||||||
| fatal_text_adventure_linux | fatal_text_adventure_linux | ||||||
|  | fatal_text_adventure_linux.exe | ||||||
| @ -1,7 +1,7 @@ | |||||||
| CC=gcc | CC=gcc | ||||||
| CFLAGS=-Wall -lraylib -lm -lpthread -ldl -lX11 | CFLAGS=-I../include -L../lib  -Wall -lraylib -lopengl32 -lgdi32 -lwinmm -lcomdlg32 -lole32 | ||||||
| BUTLER=../butler/butler | BUTLER=../butler/butler.exe | ||||||
| ITCH_CHANNEL=01-text-adventure-linux-x64-amd | ITCH_CHANNEL=01-text-adventure-windows-x64 | ||||||
| 
 | 
 | ||||||
| .PHONY: clean run butler_upload | .PHONY: clean run butler_upload | ||||||
| 
 | 
 | ||||||
| @ -9,11 +9,8 @@ fatal_text_adventure_linux: data/actions.c data/rooms.c data/room_ins.c data/wor | |||||||
| 	$(CC) *.c $(CFLAGS) -o fatal_text_adventure_linux | 	$(CC) *.c $(CFLAGS) -o fatal_text_adventure_linux | ||||||
| 
 | 
 | ||||||
| data/%.c: data/%.txt | data/%.c: data/%.txt | ||||||
| 	echo "char *data_$*_txt = " > data/$*.c | 	powershell "echo \"char *data_$*_txt = \"" > data/$*.c | ||||||
| 	cat data/$*.txt | \
 | 	powershell "cat data/$*.txt | perl -pe 's/ *\| */|/g' | perl -pe 's/^/\\\"/' | perl -pe 's/$/\\n\\\"/'" >> data/$*.c | ||||||
| 	perl -pe 's/ *\| */|/g' | \
 |  | ||||||
| 	perl -pe 's/^/"/' | \
 |  | ||||||
| 	perl -pe 's/$$/\\n"/' >> data/$*.c |  | ||||||
| 	echo ";" >> data/$*.c | 	echo ";" >> data/$*.c | ||||||
| 
 | 
 | ||||||
| run: fatal_text_adventure_linux | run: fatal_text_adventure_linux | ||||||
| @ -24,4 +21,4 @@ clean: | |||||||
| 	rm -f ./data/*.c | 	rm -f ./data/*.c | ||||||
| 
 | 
 | ||||||
| butler_upload: fatal_text_adventure_linux | butler_upload: fatal_text_adventure_linux | ||||||
| 	$(BUTLER) push ./fatal_text_adventure_linux bassguitarbill/fatal-distractions:$(ITCH_CHANNEL) | 	$(BUTLER) push ./fatal_text_adventure_linux.exe bassguitarbill/fatal-distractions:$(ITCH_CHANNEL) | ||||||
|  | |||||||
							
								
								
									
										
											BIN
										
									
								
								butler/7z.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								butler/7z.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								butler/butler.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								butler/butler.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								butler/c7zip.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								butler/c7zip.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										2941
									
								
								include/raymath.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2941
									
								
								include/raymath.h
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										5262
									
								
								include/rlgl.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5262
									
								
								include/rlgl.h
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lib/libraylib.a
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lib/libraylib.a
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lib/libraylibdll.a
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lib/libraylibdll.a
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lib/raylib.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lib/raylib.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user