linux makefile fix
This commit is contained in:
parent
c7666f5ccf
commit
c152d072fb
11
Makefile
11
Makefile
|
@ -362,7 +362,16 @@ chip-lto-pro:
|
|||
$(eval OPT += $(OPT_PRO))
|
||||
make chip-lto OPT="$(OPT)"
|
||||
|
||||
linux:
|
||||
WREN_A=$(3RD_PARTY)/wren-0.1.0/lib/libwren.a
|
||||
SDLGPU_A=$(3RD_PARTY)/sdl-gpu/build/linux/libsdlgpu.a
|
||||
|
||||
$(WREN_A):
|
||||
make static -C $(3RD_PARTY)/wren-0.1.0/
|
||||
|
||||
$(SDLGPU_A):
|
||||
make -C $(3RD_PARTY)/sdl-gpu/build/linux/
|
||||
|
||||
linux: $(WREN_A) $(SDLGPU_A)
|
||||
$(CC) $(LINUX_INCLUDES) $(SOURCES) $(SYSTEM) $(LPEG_SRC) $(GIF_SRC) $(SOURCES_EXT) $(TIC80_SRC) $(OPT) $(INCLUDES) $(LINUX_LIBS) $(LINUX_LINKER_FLAGS) -o $(BIN_NAME)
|
||||
|
||||
linux-pro:
|
||||
|
|
|
@ -68,8 +68,6 @@ run the following commands in the Terminal
|
|||
```
|
||||
sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev lua5.3-dev zlib1g-dev
|
||||
git clone --recursive https://github.com/nesbox/TIC-80
|
||||
make static -C 3rd-party/wren-0.1.0/
|
||||
make -C 3rd-party/sdl-gpu/build/linux/
|
||||
make linux
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue