rayflap

A Flappy Bird clone written in C and compiled to WebAssembly.
git clone https://unitehenry.com/git/rayflap.git
Log | Files | Refs | README

commit 4b6bc7c3974438bd7803d0f8bb493bd7e4ce7ddd
parent d2958b6748afd37f2595f244bb310b6a5992ea7b
Author: Henry Unite <unitehenry@gmail.com>
Date:   Thu, 16 Apr 2026 03:46:11 +0000

chore: init make

Diffstat:
AMakefile | 13+++++++++++++
MREADME.md | 4++++
Asrc/main.c | 7+++++++
3 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,13 @@ +TARGET_EXEC := rayflap + +BUILD_DIR := ./build +SRC_DIR := ./src + +$(shell mkdir -p $(BUILD_DIR)) + +$(BUILD_DIR)/$(TARGET_EXEC): + gcc $(SRC_DIR)/main.c -o $@ + +.PHONY: clean +clean: + rm -r $(BUILD_DIR) diff --git a/README.md b/README.md @@ -3,3 +3,7 @@ - Decent-sized C project - Learn general syntax/ecosystem of C - Port to Web Assembly + +assets -> assets +src -> main.c +Makefile diff --git a/src/main.c b/src/main.c @@ -0,0 +1,7 @@ +#include <stdio.h> + +int main() { + printf("Hello World\n"); + + return 0; +}