#---------------------------------------------------------------------
#     Copyright (C) GFD Dennou Club, 2005. All rights reserved.
#---------------------------------------------------------------------
#= Makefile for dcpam/src/init
#
# * Developers:: Yasuhiro MORIKAWA
# * Version:: $Id: Makefile,v 1.4 2006/09/09 04:54:41 morikawa Exp $
# * Tag Name:: $Name: dcpam3-20061118 $
# * Change History:: 
#
######################################################################
#
#== Settings

INCLUDEFILE = ../../Config.mk
include $(INCLUDEFILE)

TARGETS = init dcpam dcpam_ape

# End Settings
######################################################################

######################################################################
#== Set various types of files

OBJS		= $(TARGETS:%=%.o)

######################################################################
#== Rules
#
all: lib bin

lib:
	cd ../; make lib

bin: $(TARGETS)
	test -d $(BINDIR) || $(INSTALLDIR) $(BINDIR)
	$(INSTALLBIN) $+ $(BINDIR)

$(TARGETS): $(LIBDIR)/$(DCPAMLIB)

include ../../rules.make

test: $(TESTS)

clean.all: clean clean.bin

include depend

