Explorar o código

Fix Makefile sources

Evgeniy Parfenyuk hai 3 semanas
pai
achega
85972b4e65
Modificáronse 1 ficheiros con 1 adicións e 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