Browse Source

first commit

Iver 2 weeks ago
commit
6782c0e18b
10 changed files with 37 additions and 0 deletions
  1. 6 0
      LICENSE.md
  2. 16 0
      Makefile
  3. 0 0
      changelog.txt
  4. 1 0
      dbg
  5. 0 0
      issues.txt
  6. 6 0
      readme.md
  7. 1 0
      run
  8. 3 0
      src/launch program/main.c
  9. 3 0
      src/main/main.c
  10. 1 0
      val

+ 6 - 0
LICENSE.md

@@ -0,0 +1,6 @@
+Copyright (c) 2025 Iver Martinson
+
+This software is NOT LICENSED for use, distribution, or modification.
+Do not use, distribute, or modify this code without explicit permission from the author.
+
+The author may release a license in the future. Until then, all rights are reserved.

+ 16 - 0
Makefile

@@ -0,0 +1,16 @@
+COMPILER=gcc
+FLAGS_ALL=-g -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter
+FLAGS_EXAMPLE=-Lbuilds/ -lNAMEHERE -lLIBNAMEHERE -Wl,-rpath=builds/ -lm
+FLAGS_LIB=-fPIC -shared -lc -lm 
+
+main.bin: NAMEHERE.so LIBNAMEHERE.so
+	$(COMPILER) $(FLAGS_ALL) src/launch\ program/main.c -o builds/main.bin $(FLAGS_EXAMPLE) 
+
+NAMEHERE.so:
+	$(COMPILER) $(FLAGS_ALL) src/main/main.c -o builds/librasteriver.so $(FLAGS_LIB) 
+
+LIBNAMEHERE.so:
+	cp src/libraries/libLIBNAMEHERE.so builds/
+
+clean:
+	rm builds/*

+ 0 - 0
changelog.txt


+ 1 - 0
dbg

@@ -0,0 +1 @@
+gdb -ex run builds/main.bin

+ 0 - 0
issues.txt


+ 6 - 0
readme.md

@@ -0,0 +1,6 @@
+# Fizzix, a 2D and 3D Physics Engine
+
+### Etymology
+
+Physics -> Phys & Ics -> Fizz & Ix
+Fizz, like a sour, lemony drink might have

+ 1 - 0
run

@@ -0,0 +1 @@
+./builds/main.bin

+ 3 - 0
src/launch program/main.c

@@ -0,0 +1,3 @@
+int main(){
+    return 0;
+}

+ 3 - 0
src/main/main.c

@@ -0,0 +1,3 @@
+int main(){
+    return 0;
+}

+ 1 - 0
val

@@ -0,0 +1 @@
+valgrind --leak-check=full --track-origins=yes ./builds/main.bin