feat: setup git and build system

This commit is contained in:
Sara 2025-09-15 19:35:36 +02:00
commit 00b7db0b39
3 changed files with 34 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
bin/
build/
Makefile

10
justfile Normal file
View file

@ -0,0 +1,10 @@
build:
# BUILDING
make
run:
bin/DiceGui
configure:
# CONFIGURING WITH PREMAKE
premake5 gmake

21
premake5.lua Normal file
View file

@ -0,0 +1,21 @@
workspace "DiceGui"
configurations { "debug", "release" }
location "."
project "Dice"
kind "ConsoleApp"
language "C"
cdialect "c23"
location "build/"
files { "src/**.c" }
links { "m", "stdc++" }
buildoptions { "-Wall" }
targetdir "bin/"
filter "configurations:debug"
defines { "DEBUG" }
symbols "On"
optimize "Off"
filter "configurations:release"
defines { "NDEBUG" }
optimize "On"
symbols "Off"