Selaa lähdekoodia

Fix Makefile sources

Evgeniy Parfenyuk 3 viikkoa sitten
vanhempi
commit
85972b4e65
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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