From 56d37e5170dbf5756d675144b7169800ca8f3310 Mon Sep 17 00:00:00 2001 From: CRy386i Date: Sun, 2 Mar 2025 08:20:31 +0200 Subject: [PATCH] rename math.h -> torad.h. Avoid conflict headers --- Makefile | 4 ++-- opengl.c | 2 +- math.c => torad.c | 0 math.h => torad.h | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename math.c => torad.c (100%) rename math.h => torad.h (100%) diff --git a/Makefile b/Makefile index 0871561..0cc40ac 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ CC=gcc CFLAGS=-O1 -DDEBUG -g -ggdb -std=c23 LIBS=`pkg-config sdl3 --cflags --libs` -lGL -lGLEW -lm -HEADER = readfile.h math.h opengl.h -OBJ = main.o readfile.o math.o opengl.o +HEADER = readfile.h torad.h opengl.h +OBJ = main.o readfile.o torad.o opengl.o all: mobiground diff --git a/opengl.c b/opengl.c index 1b2e2dd..a2ab53e 100644 --- a/opengl.c +++ b/opengl.c @@ -7,7 +7,7 @@ #include "opengl.h" #include "readfile.h" -#include "math.h" +#include "torad.h" shaderProgram_t sp; diff --git a/math.c b/torad.c similarity index 100% rename from math.c rename to torad.c diff --git a/math.h b/torad.h similarity index 100% rename from math.h rename to torad.h