Explorar el Código

Fix Makefile sources

Evgeniy Parfenyuk hace 3 semanas
padre
commit
85972b4e65
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -6,7 +6,7 @@ LIBS     := -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
 
 TARGET   := vinora
 SRC_DIR  := src
-SOURCES  := $(wildcard $(SRC_DIR)/*.c)
+SOURCES := $(shell find $(SRC_DIR) -type f -name "*.c")
 OBJECTS  := $(SOURCES:.c=.o)
 
 RAYLIB_DIR := ext/raylib/src