summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-13 12:27:58 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-13 12:27:58 -0500
commit5011ea1b44c055893c691e923f4e82cdaebd5b0c (patch)
tree5b6d421b2287d0ddf9f733be9ce1c928a2822e7d /Makefile
parent44792fd5369cfe2ad1478b72bf22b0d1829f291b (diff)
downloadballs-5011ea1b44c055893c691e923f4e82cdaebd5b0c.zip
move gl functions out of balls.c
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8a2bc97..c4e03a8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC = gcc
CFLAGS = -std=c99 -Wall -pedantic -Wno-deprecated-declarations
LDFLAGS = -lGLEW -lGL -lX11 -lGLU -lOpenGL -lOpenCL -lglut -lGLX
-SRC = balls.c sysfatal.c geo.c rand.c partition.c io.c
+SRC = balls.c sysfatal.c geo.c rand.c partition.c gl.c io.c
OBJ = ${SRC:.c=.o}
balls: ${OBJ}
@@ -14,4 +14,4 @@ balls: ${OBJ}
clean:
rm -f *.o balls
-${OBJ}: sysfatal.h balls.h config.h
+${OBJ}: sysfatal.h balls.h config.h gl.h