Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Juhani Krekelä | 3d727b8352 | |
Juhani Krekelä | 2582850101 | |
Juhani Krekelä | eed54336c8 | |
Juhani Krekelä | b433cc2242 | |
Juhani Krekelä | c899e6a5fd |
9
Makefile
9
Makefile
|
@ -1,6 +1,9 @@
|
||||||
|
PREFIX ?= /local
|
||||||
EXEC_PREFIX ?= $(PREFIX)
|
EXEC_PREFIX ?= $(PREFIX)
|
||||||
BINDIR ?= $(EXEC_PREFIX)/bin
|
BINDIR ?= $(EXEC_PREFIX)/bin
|
||||||
|
|
||||||
|
CFLAGS ?= -O3 -Wall -Wextra -pedantic
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .inc .txt
|
.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_rebind1_tile.inc rebind_rebind2_tile.inc rebind_rebind3_tile.inc \
|
||||||
rebind_left1_tile.inc rebind_left2_tile.inc \
|
rebind_left1_tile.inc rebind_left2_tile.inc \
|
||||||
rebind_right1_tile.inc rebind_right2_tile.inc \
|
rebind_right1_tile.inc rebind_right2_tile.inc \
|
||||||
rebind_jump1_tile.inc rebind_jump2_tile.inc \
|
rebind_jump1_tile.inc rebind_jump2_tile.inc \
|
||||||
rebind_rebind1_alt_tile.inc
|
rebind_rebind1_alt_tile.inc
|
||||||
|
|
||||||
all: $(NAME)
|
all: $(NAME)
|
||||||
|
|
||||||
$(NAME): $(NAME).c $(TILES)
|
$(NAME): $(NAME).c $(TILES)
|
||||||
$(CC) -O3 -Wall -Wextra -Werror -pedantic -o $@ $< -ldisplay
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -ldisplay
|
||||||
|
|
||||||
.txt.inc:
|
.txt.inc:
|
||||||
./tile_compiler.py $< > $@
|
./tile_compiler.py $< > $@
|
||||||
|
|
2
README
2
README
|
@ -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
|
Switcher is developed for the Sortix platform, and requires features from the
|
||||||
staging branch / volatile builds. It targets the current staging APIs as of
|
staging branch / volatile builds. It targets the current staging APIs as of
|
||||||
2022-10-16.
|
2022-01-16.
|
||||||
|
|
||||||
Controls
|
Controls
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
NAME=switcher
|
||||||
|
BUILD_LIBRARIES=
|
||||||
|
VERSION=1.0
|
||||||
|
LICENSE=CC0-1.0
|
||||||
|
BUILD_PROGRAMS=python
|
||||||
|
BUILD_SYSTEM=makefile
|
||||||
|
LOCATION_INDEPENDENT=true
|
|
@ -1,5 +0,0 @@
|
||||||
tix.version=1
|
|
||||||
tix.class=srctix
|
|
||||||
pkg.name=switcher
|
|
||||||
pkg.build-system=make
|
|
||||||
pkg.location-independent=true
|
|
Loading…
Reference in New Issue