chip8

CHIP-8 emulator
git clone git://git.christosmarg.xyz/chip8.git
Log | Files | Refs | README | LICENSE

commit 02a0ffc815aa0b8b83a405329dbeedda1a331b3c
parent a7d8e25db355dbcbbaba78363f52d361ca804fd4
Author: Christos Margiolis <christos@margiolis.net>
Date:   Fri, 22 May 2020 19:39:32 +0300

minor fixes

Diffstat:
MMakefile | 4++--
MREADME.md | 2+-
Msrc/main.c | 1+
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -12,8 +12,8 @@ MOVE = mv MKDIR_P = mkdir -p CC = gcc -CPPFLAGS += -Iinclude -CFLAGS += -Wall +CPPFLAGS += -Iinclude -pedantic +CFLAGS += -Wall -std=c99 LDFLAGS += -Llib LDLIBS += -lSDL2 diff --git a/README.md b/README.md @@ -4,7 +4,7 @@ Your typical CHIP-8 copy. This one uses SDL2 as a rendering API. ## Dependencies -* `cmake` +* `make` * `SDL2` ## Usage diff --git a/src/main.c b/src/main.c @@ -1,3 +1,4 @@ +#define _DEFAULT_SOURCE #include "chip8.h" #include <SDL2/SDL.h> #include <unistd.h>