aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh6
-rw-r--r--teensy/platform/gl/GLFW/glfw3.h (renamed from platform/gl/GLFW/glfw3.h)0
-rw-r--r--teensy/platform/gl/GLFW/glfw3native.h (renamed from platform/gl/GLFW/glfw3native.h)0
-rw-r--r--teensy/platform/gl/gl.c (renamed from platform/gl/gl.c)0
-rw-r--r--teensy/platform/gl/glad/KHR/khrplatform.h (renamed from platform/gl/glad/KHR/khrplatform.h)0
-rw-r--r--teensy/platform/gl/glad/glad.c (renamed from platform/gl/glad/glad.c)0
-rw-r--r--teensy/platform/gl/glad/glad.h (renamed from platform/gl/glad/glad.h)0
-rw-r--r--teensy/platform/x11/x11.c (renamed from platform/x11/x11.c)0
8 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 5771b24..3ab36a8 100755
--- a/build.sh
+++ b/build.sh
@@ -28,7 +28,7 @@ fi
[ ! -z "$debug" ] && cflags+=(-g -ggdb -rdynamic)
-teensy_cflags=(${cflags[@]} -fPIC -Iteensy -Iplatform/$platform)
+teensy_cflags=(${cflags[@]} -fPIC -Iteensy -Iteensy/platform/$platform)
[ ! -z "$debug" ] && teensy_cflags+=(-DTEENSY_DEBUG)
teensy_ldflags=(${ldflags[@]})
@@ -46,8 +46,8 @@ dc_cflags=(${cflags[@]} -Iteensy -Idc)
dc_ldflags=(${ldflags[@]} -L. -lteensy)
dc_src=$(find dc -name '*.c')
-teensy_src=$(find teensy -name '*.c')
-platform_src=$(find platform/$platform -name '*.c')
+teensy_src=$(find teensy -name '*.c' -not -path '*platform*')
+platform_src=$(find teensy/platform/$platform -name '*.c')
echo -e "dc:\t\t$(tr '\n' ' ' <<< "$dc_src")"
echo -e "teensy:\t\t$(tr '\n' ' ' <<< "$teensy_src")"
diff --git a/platform/gl/GLFW/glfw3.h b/teensy/platform/gl/GLFW/glfw3.h
index 9c55ac9..9c55ac9 100644
--- a/platform/gl/GLFW/glfw3.h
+++ b/teensy/platform/gl/GLFW/glfw3.h
diff --git a/platform/gl/GLFW/glfw3native.h b/teensy/platform/gl/GLFW/glfw3native.h
index 92f0d32..92f0d32 100644
--- a/platform/gl/GLFW/glfw3native.h
+++ b/teensy/platform/gl/GLFW/glfw3native.h
diff --git a/platform/gl/gl.c b/teensy/platform/gl/gl.c
index c6b8194..c6b8194 100644
--- a/platform/gl/gl.c
+++ b/teensy/platform/gl/gl.c
diff --git a/platform/gl/glad/KHR/khrplatform.h b/teensy/platform/gl/glad/KHR/khrplatform.h
index 0164644..0164644 100644
--- a/platform/gl/glad/KHR/khrplatform.h
+++ b/teensy/platform/gl/glad/KHR/khrplatform.h
diff --git a/platform/gl/glad/glad.c b/teensy/platform/gl/glad/glad.c
index 245f700..245f700 100644
--- a/platform/gl/glad/glad.c
+++ b/teensy/platform/gl/glad/glad.c
diff --git a/platform/gl/glad/glad.h b/teensy/platform/gl/glad/glad.h
index f9510da..f9510da 100644
--- a/platform/gl/glad/glad.h
+++ b/teensy/platform/gl/glad/glad.h
diff --git a/platform/x11/x11.c b/teensy/platform/x11/x11.c
index ad85677..ad85677 100644
--- a/platform/x11/x11.c
+++ b/teensy/platform/x11/x11.c