#
#   $Id$
#   Defined In: The MusicKit
#
#  Description:
#    Makefile for GNUstep version of mixscorefiles
#
#  Original Author: Stephen Brandon <stephen@pyrusmalus.com>
#
#  12 October 2001, Copyright (c) 2001 Stephen Brandon.
#
#  Permission is granted to use and modify this code for commercial and non-
#  commercial purposes so long as the author attribution and this copyright
#  message remains intact and accompanies all derived code.

include $(GNUSTEP_MAKEFILES)/common.make

# The tools to be compiled
TOOL_NAME = \
	mixscorefiles

ADDITIONAL_LIB_DIRS = 

ADDITIONAL_TOOL_LIBS += -L${BUILDLIBROOT} -lMusicKit

ADDITIONAL_FLAGS += -g

# The Objective-C source files to be compiled
$(TOOL_NAME)_OBJC_FILES = mixscorefiles_main.m

ifeq (mingw32, $(GNUSTEP_HOST_OS))
  CYG_PATH = $(shell cygpath -w '/' | tr '\\' '/' )
  ADDITIONAL_FLAGS += -I$(CYG_PATH)/usr/local/include
  ADDITIONAL_LDFLAGS += -L$(CYG_PATH)/usr/local/lib
endif

-include GNUmakefile.preamble

include $(GNUSTEP_MAKEFILES)/tool.make

-include GNUmakefile.postamble
