rucksack: fix install locations and don't build *.dlls

This commit is contained in:
Tony Theodore 2015-12-07 09:14:18 +11:00
parent d9df09c1a2
commit bcab2fce24
1 changed files with 9 additions and 1 deletions

View File

@ -20,7 +20,15 @@ define $(PKG)_BUILD
mkdir '$(1)/build'
cd '$(1)/build' && cmake .. -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install VERBOSE=1
$(MAKE) -C '$(1)/build' -j '$(JOBS)' \
rucksack_static \
rucksackspritesheet_static \
VERBOSE=1
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include/rucksack'
$(INSTALL) -m644 '$(1)/src/rucksack.h' '$(PREFIX)/$(TARGET)/include/rucksack'
$(INSTALL) -m644 '$(1)/src/spritesheet.h' '$(PREFIX)/$(TARGET)/include/rucksack'
$(INSTALL) -m644 '$(1)/build/lib'*.a '$(PREFIX)/$(TARGET)/lib/'
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic -std=c99 \