Mac upload and build scripts
This commit is contained in:
parent
57d9a0b227
commit
02e2919035
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
hanafuda_hachi_hachi_linux
|
||||
hanafuda_hachi_hachi_mac
|
||||
hanafuda_hachi_hachi_windows.exe
|
||||
*.zip
|
12
Makefile
12
Makefile
@ -24,6 +24,9 @@ $(GAME)_linux: *.c
|
||||
$(GAME)_windows.exe: $(DATA_C) *.c
|
||||
$(WIN_CC) *.c $(WIN_LIB) $(WIN_CFLAGS) -o $(GAME)_windows.exe
|
||||
|
||||
$(GAME)_mac: $(DATA_C) *.c
|
||||
$(CC) *.c $(CFLAGS) -o $(GAME)_mac
|
||||
|
||||
clean:
|
||||
rm -f ./$(GAME)_linux
|
||||
rm -f ./$(GAME)_linux.zip
|
||||
@ -36,8 +39,15 @@ $(GAME)_linux.zip: $(GAME)_linux
|
||||
|
||||
$(GAME)_windows.zip: $(GAME)_windows.exe
|
||||
rm -f ./$(GAME)_windows.zip
|
||||
zip -r $(GAME)_windows.zip $(GAME)_windows.exe img/*.png
|
||||
zip -r $(GAME)_windows.zip $(GAME)_windows.exe COPYING img/*.png img/LICENSE
|
||||
|
||||
$(GAME)_mac.zip: $(GAME)_mac
|
||||
rm -f ./$(GAME)_mac.zip
|
||||
zip -r $(GAME)_mac.zip $(GAME)_mac COPYING img/*.png img/LICENSE
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user