TwlIPL/build/tests/compressSharedFontLoad/compSharedFont/ntrcomp/gcc/Makefile
nishikawa_takeshi b4e285d208 フォント圧縮テスト:compBLZとntrcompを切り替えることができるように変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1816 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-07-08 06:49:39 +00:00

60 lines
1.9 KiB
Makefile

#! make -f
#----------------------------------------------------------------------------
# Project: TwlSDK - build - tools - ntrcomp - gcc
# File: Makefile
#
# Copyright 2007 Nintendo. All rights reserved.
#
# These coded instructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law. They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
# $Date:: $
# $Rev$
# $Author$
#----------------------------------------------------------------------------
TARGET_PLATFORM = NITRO
include $(TWLSDK_ROOT)/build/buildtools/commondefs
OBJECTS = ntcompress_main.o ntcompress_test.o nitroCompLib.o multipleCompLib.o rangeCoder.o
WIN32 ?= 1
ifneq ($(WIN32),0)
TARGETS = ntrcomp.exe
CC_X86 := gcc -mno-cygwin
else
TARGETS = ntrcomp
CC_X86 := gcc
endif
LDIRT_CLEAN = $(OBJECTS) $(TARGETS)
#INSTALL_DIR = $(NITRO_INSTALL_TOOLSDIR)/bin
#INSTALL_TARGETS = $(TARGETS)
#----------------------------------------------------------------------------
# build
#----------------------------------------------------------------------------
do-build: $(TARGETS)
$(TARGETS): $(OBJECTS)
$(CC_X86) $+ -o $@
ntcompress_main.o: ../src/ntcompress_main.c ../src/nitroCompLib.h
$(CC_X86) -c $< -o $@
ntcompress_test.o: ../src/ntcompress_test.c ../src/nitroCompLib.h
$(CC_X86) -c $< -o $@
nitroCompLib.o: ../src/nitroCompLib.c ../src/nitroCompLib.h
$(CC_X86) -c $< -o $@
multipleCompLib.o: ../src/multipleCompLib.c ../src/multipleCompLib.h
$(CC_X86) -c $< -o $@
rangeCoder.o: ../src/rangeCoder.c ../src/rangeCoder.h
$(CC_X86) -c $< -o $@
include $(TWLSDK_ROOT)/build/buildtools/modulerules.x86