#! make -f #--------------------------------------------------------------------------- # Project: RevoEX - tools - chjpedit # 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. # # $Log: Makefile,v $ # Revision 1.1 2007/07/30 00:48:20 nishimoto_takashi # Created # # # $NoKeywords: $ #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # Settings PLATFORM = X86 X86 = TRUE include $(REVOLUTION_EXT_ROOT)/build/buildtools/commondefs #--------------------------------------------------------------------------- # Projects TARGETS = makeChjp.exe SOURCES = main.c OBJECTS = $(SOURCES:.c=.o) #--------------------------------------------------------------------------- # Rules .PHONY : do-build setup build install clean clobber all: setup build install do-build: build setup: build: $(TARGETS) install: build cp -uR $(TARGETS) $(REX_INSTALL_BINDIR)/ clean: rm -f $(TARGETS) $(OBJECTS) clobber: clean rm -f $(REX_INSTALL_BINDIR)/$(TARGETS) $(TARGETS): $(OBJECTS) gcc -mno-cygwin $+ -o $@ %.o: %.c gcc -mno-cygwin -Wall -c -I. $+ -o $@