Initial setup for Cube sample

This commit is contained in:
Wellinator
2021-04-02 09:01:14 -03:00
parent 142bf60a6d
commit 11717f42eb
8 changed files with 397 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
EE_BIN = cube.elf
TYRA_DIR = ./../../engine
EE_OBJS = \
managers/light_manager.o \
camera.o \
cube.o \
main.o
EE_LIBS = -ltyra
all: $(EE_BIN)
$(EE_STRIP) --strip-all $(EE_BIN)
mv $(EE_BIN) bin/$(EE_BIN)
rm $(EE_OBJS)
rebuild-engine:
cd $(TYRA_DIR) && make clean && make
clean:
rm -f $(EE_OBJS)
run: $(EE_BIN)
killall -v ps2client || true
ps2client reset
ps2client reset
$(EE_STRIP) --strip-all $(EE_BIN)
mv $(EE_BIN) bin/$(EE_BIN)
rm $(EE_OBJS)
cd bin/ && ps2client execee host:$(EE_BIN)
include $(TYRA_DIR)/Makefile.pref