Add git submodules as part of the build process

This commit is contained in:
Rob Loach 2017-06-21 00:43:30 -04:00
parent b1c2357d7d
commit d230d536ef
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A

View File

@ -59,7 +59,7 @@ endif
OBJECTS := libretro.o chaigame.o
all: $(TARGET)
all: $(TARGET) vendor/libretro-common/include/libretro.h
ifeq ($(DEBUG), 0)
FLAGS += -O3 -ffast-math -fomit-frame-pointer
@ -99,4 +99,8 @@ $(TARGET): $(OBJECTS)
clean:
rm -f $(TARGET) $(OBJECTS)
vendor/libretro-common/include/libretro.h:
git submodule init
git submodule update
.PHONY: clean