rename math.h -> torad.h. Avoid conflict headers
This commit is contained in:
parent
46ee3f6988
commit
56d37e5170
4 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@ CC=gcc
|
||||||
CFLAGS=-O1 -DDEBUG -g -ggdb -std=c23
|
CFLAGS=-O1 -DDEBUG -g -ggdb -std=c23
|
||||||
LIBS=`pkg-config sdl3 --cflags --libs` -lGL -lGLEW -lm
|
LIBS=`pkg-config sdl3 --cflags --libs` -lGL -lGLEW -lm
|
||||||
|
|
||||||
HEADER = readfile.h math.h opengl.h
|
HEADER = readfile.h torad.h opengl.h
|
||||||
OBJ = main.o readfile.o math.o opengl.o
|
OBJ = main.o readfile.o torad.o opengl.o
|
||||||
|
|
||||||
all: mobiground
|
all: mobiground
|
||||||
|
|
||||||
|
|
2
opengl.c
2
opengl.c
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "opengl.h"
|
#include "opengl.h"
|
||||||
#include "readfile.h"
|
#include "readfile.h"
|
||||||
#include "math.h"
|
#include "torad.h"
|
||||||
|
|
||||||
shaderProgram_t sp;
|
shaderProgram_t sp;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue