diff --git a/.gitignore b/.gitignore index ee02846..dfd4490 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +geometry dist/ ## Ignore Visual Studio temporary files, build results, and diff --git a/FemboyGeometry/geometry.h b/FemboyGeometry/geometry.h index fe9ff2b..4057d26 100644 --- a/FemboyGeometry/geometry.h +++ b/FemboyGeometry/geometry.h @@ -5,13 +5,11 @@ #endif #include -#include -#include -#include +#include -#define PI 3.14159 -#define NUM_MODES 5 -#define OMEGA 4.0f +#define PI 3.14159 +#define NUM_MODES 5 +#define OMEGA 4.0f class GeometryPlayer diff --git a/FemboyGeometry/main.cpp b/FemboyGeometry/main.cpp index b0d500e..0caeb15 100644 --- a/FemboyGeometry/main.cpp +++ b/FemboyGeometry/main.cpp @@ -1,4 +1,4 @@ -#include +#include #include "geometry.h" #define WIN_WIDTH 640 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b1c6f3a --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +CFLAGS=-DGL_SILENCE_DEPRECATION $(shell pkg-config --cflags gl) $(shell pkg-config --cflags glut) +LIBS=$(shell pkg-config --libs gl) $(shell pkg-config --libs glut) + +all: + g++ -o geometry ./FemboyGeometry/*.cpp $(CFLAGS) $(LIBS) + +clean: + rm -f geometry