diff --git a/.vscode/settings.json b/.vscode/settings.json index 7616c8a..5e7ab5c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -44,6 +44,7 @@ "stdexcept": "cpp", "streambuf": "cpp", "cinttypes": "cpp", - "typeinfo": "cpp" + "typeinfo": "cpp", + "ctime": "cpp" } } \ No newline at end of file diff --git a/Makefile b/Makefile index 8f1a28f..fa29cb2 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ RAYOBJECTS= obj/rcore.o obj/rshapes.o obj/rtextures.o obj/rtext.o obj/utils.o ob #RAYOPT= -O3 RAYOPT= -ggdb -CPPFLAGS= -std=c++23 +CFLAGS= -std=c++23 all: setup main run @@ -54,10 +54,13 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.cpp main: main.cpp setup $(RAYOBJECTS) $(OBJECTS) g++ main.cpp $(RAYOBJECTS) $(OBJECTS) -o main $(RAYOPT) $(RAYINCLUDE) $(INCLUDE) $(CFLAGS) +example: example.cpp setup $(RAYOBJECTS) $(OBJECTS) + g++ example.cpp $(RAYOBJECTS) $(OBJECTS) -o example $(RAYOPT) $(RAYINCLUDE) $(INCLUDE) $(CFLAGS) + run: main ./main clean: rm -rf obj rm -rf raylib - rm main \ No newline at end of file + rm main example \ No newline at end of file