Compare commits
	
		
			No commits in common. "master" and "1.0" have entirely different histories.
		
	
	
		
	
		
							
								
								
									
										24
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								Makefile
									
									
									
									
									
								
							| @ -8,20 +8,16 @@ WIN_CFLAGS=-Wall -lraylib -lm -lpthread | ||||
| GAME=fatal_text_adventure | ||||
| DATA_C=data/actions.c data/rooms.c data/room_ins.c data/words.c data/flags.c data/items.c | ||||
| 
 | ||||
| BUTLER=./butler/butler | ||||
| ITCH_CHANNEL=thrive | ||||
| BUTLER=../butler/butler | ||||
| ITCH_CHANNEL=01-text-adventure | ||||
| ITCH_CHANNEL_LINUX=$(ITCH_CHANNEL)-linux-x64 | ||||
| ITCH_CHANNEL_WINDOWS=$(ITCH_CHANNEL)-windows-x64 | ||||
| ITCH_CHANNEL_MAC=$(ITCH_CHANNEL)-mac | ||||
| 
 | ||||
| .PHONY: clean run butler_upload | ||||
| 
 | ||||
| $(GAME)_linux: $(DATA_C) *.c | ||||
| 	$(CC) *.c $(CFLAGS) -o $(GAME)_linux | ||||
| 
 | ||||
| $(GAME)_linux: $(DATA_C) *.c | ||||
| 	$(CC) *.c $(CFLAGS) -o $(GAME)_mac | ||||
| 
 | ||||
| $(GAME)_windows.exe: $(DATA_C) *.c | ||||
| 	$(WIN_CC) *.c $(WIN_LIB) $(WIN_CFLAGS) -o $(GAME)_windows.exe | ||||
| 
 | ||||
| @ -36,9 +32,6 @@ data/%.c: data/%.txt | ||||
| run: $(GAME)_linux | ||||
| 	SKIP_INTRO=1 ./$(GAME)_linux | ||||
| 
 | ||||
| run_mac: $(GAME)_mac | ||||
| 	SKIP_INTRO=1 ./$(GAME)_mac | ||||
| 
 | ||||
| run_win: $(GAME)_windows.exe | ||||
| 	SKIP_INTRO=1 wine $(GAME)_windows.exe | ||||
| 
 | ||||
| @ -47,8 +40,6 @@ clean: | ||||
| 	rm -f ./$(GAME)_linux.zip | ||||
| 	rm -f ./$(GAME)_windows.exe | ||||
| 	rm -f ./$(GAME)_windows.zip | ||||
| 	rm -f ./$(GAME)_mac | ||||
| 	rm -f ./$(GAME)_mac.zip | ||||
| 	rm -f ./data/*.c | ||||
| 
 | ||||
| $(GAME)_linux.zip: $(GAME)_linux | ||||
| @ -59,13 +50,6 @@ $(GAME)_windows.zip: $(GAME)_windows.exe | ||||
| 	rm -f ./$(GAME)_windows.zip | ||||
| 	zip -r $(GAME)_windows.zip $(GAME)_windows.exe img/*.png | ||||
| 
 | ||||
| $(GAME)_mac.zip: $(GAME)_mac | ||||
| 	rm -f ./$(GAME)_mac.zip | ||||
| 	zip -r $(GAME)_mac.zip $(GAME)_mac img/*.png | ||||
| 
 | ||||
| butler_upload: $(GAME)_linux.zip $(GAME)_windows.zip | ||||
| 	$(BUTLER) push ./$(GAME)_linux.zip bassguitarbill/$(ITCH_CHANNEL):$(ITCH_CHANNEL_LINUX) | ||||
| 	$(BUTLER) push ./$(GAME)_windows.zip bassguitarbill/$(ITCH_CHANNEL):$(ITCH_CHANNEL_WINDOWS) | ||||
| 
 | ||||
| butler_upload_mac: $(GAME)_mac.zip | ||||
| 	$(BUTLER) push ./$(GAME)_mac.zip bassguitarbill/$(ITCH_CHANNEL):$(ITCH_CHANNEL_MAC) | ||||
| 	$(BUTLER) push ./$(GAME)_linux.zip bassguitarbill/fatal-distractions:$(ITCH_CHANNEL_LINUX) | ||||
| 	$(BUTLER) push ./$(GAME)_windows.zip bassguitarbill/fatal-distractions:$(ITCH_CHANNEL_WINDOWS) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user