Compare commits

..

No commits in common. "c127cd2d6170bc28704e178e3f707dc0fb535eaf" and "56c75f59aa95e2437fd8203c503ab20703e07161" have entirely different histories.

3 changed files with 5 additions and 25 deletions

4
.gitignore vendored
View File

@ -1,3 +1 @@
hanafuda_hachi_hachi_linux
hanafuda_hachi_hachi_windows.exe
*.zip
hanafuda_hachi_hachi_linux

View File

@ -7,37 +7,19 @@ WIN_CFLAGS=-Wall -lraylib -lm -lpthread
GAME=hanafuda_hachi_hachi
BUTLER=../butler/butler
ITCH_CHANNEL=hanafuda-hachi-hachi
BUTLER=./butler/butler
ITCH_CHANNEL=hanafuda
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
.PHONY: clean run
run: $(GAME)_linux
SKIP_INTRO=1 ./$(GAME)_linux
./$(GAME)_linux
$(GAME)_linux: *.c
$(CC) *.c $(CFLAGS) -o $(GAME)_linux
$(GAME)_windows.exe: $(DATA_C) *.c
$(WIN_CC) *.c $(WIN_LIB) $(WIN_CFLAGS) -o $(GAME)_windows.exe
clean:
rm -f ./$(GAME)_linux
rm -f ./$(GAME)_linux.zip
rm -f ./$(GAME)_windows.exe
rm -f ./$(GAME)_windows.zip
$(GAME)_linux.zip: $(GAME)_linux
rm -f ./$(GAME)_linux.zip
zip -r $(GAME)_linux.zip $(GAME)_linux COPYING img/*.png img/LICENSE
$(GAME)_windows.zip: $(GAME)_windows.exe
rm -f ./$(GAME)_windows.zip
zip -r $(GAME)_windows.zip $(GAME)_windows.exe 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)

Binary file not shown.