aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile
index 77aa2b5d..1908b138 100644
--- a/src/makefile
+++ b/src/makefile
@@ -93,7 +93,7 @@ else
endif
# define all object files required
-OBJS = core.o rlgl.o raymath.o shapes.o text.o textures.o models.o audio.o utils.o stb_vorbis.o
+OBJS = core.o rlgl.o raymath.o shapes.o text.o textures.o models.o audio.o utils.o stb_vorbis.o camera.o gestures.o
# typing 'make' will invoke the first target entry in the file,
# in this case, the 'default' target entry is raylib
@@ -148,6 +148,14 @@ utils.o: utils.c
stb_vorbis.o: stb_vorbis.c
$(CC) -c stb_vorbis.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
+# compile camera module
+camera.o: camera.c
+ $(CC) -c camera.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
+
+# compile gestures module
+gestures.o: gestures.c
+ $(CC) -c gestures.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
+
# clean everything
clean:
ifeq ($(PLATFORM),PLATFORM_DESKTOP)