Compare commits

...

5 Commits
v1.0 ... master

Author SHA1 Message Date
Juhani Krekelä 3d727b8352 Replace tixbuildinfo with tix.port 2022-07-28 01:56:33 +03:00
Juhani Krekelä 2582850101 Fix typo in date 2022-07-28 01:53:07 +03:00
Juhani Krekelä eed54336c8 Fix indentation in Makefile 2022-07-28 01:51:32 +03:00
Juhani Krekelä b433cc2242 Properly handle CFLAGS et al 2022-07-28 01:48:37 +03:00
Juhani Krekelä c899e6a5fd Set default prefix to /local 2022-07-28 01:46:29 +03:00
4 changed files with 14 additions and 9 deletions

View File

@ -1,6 +1,9 @@
PREFIX ?= /local
EXEC_PREFIX ?= $(PREFIX)
BINDIR ?= $(EXEC_PREFIX)/bin
CFLAGS ?= -O3 -Wall -Wextra -pedantic
.SUFFIXES:
.SUFFIXES: .inc .txt
@ -24,13 +27,13 @@ TILES = player_stand_tile.inc \
rebind_rebind1_tile.inc rebind_rebind2_tile.inc rebind_rebind3_tile.inc \
rebind_left1_tile.inc rebind_left2_tile.inc \
rebind_right1_tile.inc rebind_right2_tile.inc \
rebind_jump1_tile.inc rebind_jump2_tile.inc \
rebind_rebind1_alt_tile.inc
rebind_jump1_tile.inc rebind_jump2_tile.inc \
rebind_rebind1_alt_tile.inc
all: $(NAME)
$(NAME): $(NAME).c $(TILES)
$(CC) -O3 -Wall -Wextra -Werror -pedantic -o $@ $< -ldisplay
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -ldisplay
.txt.inc:
./tile_compiler.py $< > $@

2
README
View File

@ -2,7 +2,7 @@ Switcher is a an entry to 6AMES MADE QUICK???, a game jam set during AGDQ 2022.
Switcher is developed for the Sortix platform, and requires features from the
staging branch / volatile builds. It targets the current staging APIs as of
2022-10-16.
2022-01-16.
Controls
--------

7
tix.port Normal file
View File

@ -0,0 +1,7 @@
NAME=switcher
BUILD_LIBRARIES=
VERSION=1.0
LICENSE=CC0-1.0
BUILD_PROGRAMS=python
BUILD_SYSTEM=makefile
LOCATION_INDEPENDENT=true

View File

@ -1,5 +0,0 @@
tix.version=1
tix.class=srctix
pkg.name=switcher
pkg.build-system=make
pkg.location-independent=true