Explorar o código

Makefile: hardcode src/version.c in the SOURCES_C array
Solves a build error when it doesn't exist at make call time

Streetwalrus Einstein %!s(int64=10) %!d(string=hai) anos
pai
achega
1a1be2f311
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -23,7 +23,7 @@ ZEHNFLAGS = --name "$(NAME)" --compress
 
 SRCDIR = src
 
-SOURCES_C = art/sprites.c $(wildcard $(SRCDIR)/*.c)
+SOURCES_C = art/sprites.c src/version.c $(wildcard $(SRCDIR)/*.c)
 SOURCES_CPP = $(wildcard $(SRCDIR)/*.cpp)
 OBJS = $(patsubst %.c,%.o,$(SOURCES_C)) $(patsubst %.cpp,%.o,$(SOURCES_CPP))
 INCLUDE = -I include -I art -I external/tinystl/include