diff --git a/CMakeLists.txt b/CMakeLists.txt index 6422ef6..19fc38b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,7 +198,7 @@ add_executable(My3D lib/xmlparser/src/xmlparser.c lib/xmlparser/src/xmlproperties.c src/game_loader.c - main.c) + main.c lib/gamacon/include/errors.h lib/gamacon/src/ui/button.c lib/gamacon/src/ui/setup_ui.c lib/gamacon/include/ui.h src/interface.c lib/gamacon/src/components/clickable_component.c lib/gamacon/include/components/clickable_component.h lib/gamacon/src/systems/clickable_system.c) add_compile_options(-W -Wall -Wextra -Wshadow) diff --git a/Makefile b/Makefile index bf65782..8976365 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ CC = gcc all: build -build: $(OBJ) +$(NAME): $(OBJ) $(MAKE) -C lib/gamacon $(MAKE) -C lib/my $(MAKE) -C lib/xmlparser diff --git a/prefabs/game.gcprefab b/prefabs/game.gcprefab index 20a1235..c58b3a1 100644 --- a/prefabs/game.gcprefab +++ b/prefabs/game.gcprefab @@ -1,9 +1,11 @@ + +