summaryrefslogtreecommitdiffstats
path: root/sdl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/Makefile')
-rw-r--r--sdl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sdl/Makefile b/sdl/Makefile
index 0ea6faa..51a013f 100644
--- a/sdl/Makefile
+++ b/sdl/Makefile
@@ -1,5 +1,5 @@
PROG = pyramid
-OBJS = $(PROG).o math3d.o gltools.o
+OBJS = $(PROG).o math3d.o gltools.o glframe.o
CC = gcc
DBGFLAGS = -g -O0
ifdef DEBUG
@@ -23,7 +23,10 @@ math3d.o: math3d.c math3d.h
$(CC) -c $(CFLAGS) math3d.c
gltools.o: gltools.c gltools.h math3d.h
- $(CC) -c $(CFLAGS) gltools.c
+ $(CC) -c $(CFLAGS) gltools.c
+
+glframe.o: glframe.c math3d.h
+ $(CC) -c $(CFLAGS) glframe.c
.PHONY: clean