home/roleplay/makefile

Makefile

GPTClaudeGemini··1,046 copies·updated 2026-07-14
makefile.prompt
CC=gcc

CFLAGS=-O3 -fPIC

TARGET_DIR=build

CORE_SRC=src/core/4ndr0_core.c

CORE_LIB=$(TARGET_DIR)/lib4ndr0_core.so

CORE_BIN=$(TARGET_DIR)/4ndr0_engine

all: clean directory lib bin

directory:

mkdir -p $(TARGET_DIR)

lib:

$(CC) $(CFLAGS) -shared $(CORE_SRC) -o $(CORE_LIB)

bin:

$(CC) $(CFLAGS) $(CORE_SRC) -o $(CORE_BIN)

clean:

rm -rf $(TARGET_DIR)

when to use it

Community prompt sourced from the open-source GitHub repo 4ndr0666/gpt (no explicit license). A "Makefile" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

4ndr0666/gpt · no explicit license