1 # gbdk-support (Gameboy Development Kit Support Files) Component
3 # Prevent multiple inclusion
4 ifneq ($(GBDKSUPPORTMKINCLUDE
), 1)
5 GBDKSUPPORTMKINCLUDE
= 1
7 # Add gbdk-lib to the list of source trees that need to be fetched
8 SRCTREES
+= gbdk-support
10 GBDKSUPPORTDIR
= $(SRCDIR
)/gbdk-support
12 GBDKLIBINSTALLDIR
= ~
/gbdk
/
14 CLEANTARGETS
+= gbdk-support-clean
16 CVSREPOSITORIES
+= cvs.gbdk.sourceforge.net
:/cvsroot
/gbdk
18 # Override the default fetch behavoiur
19 # Default rule for fetching a tree from cvs
20 $(STAMPDIR
)/gbdk-support.fetched
: $(ORIGDIR
) $(STAMPDIR
)
21 cd
$(ORIGDIR
); cvs
$(CVSFLAGS
) -d
:pserver
:anonymous@cvs.gbdk.sourceforge.net
:/cvsroot
/gbdk
co gbdk-support
24 gbdk-support
: gbdk-support-lcc
26 gbdk-support-clean
: gbdk-support-lcc-clean
28 gbdk-support-build-lcc
: gbdk-support-lcc-clean
29 make
-C
$(GBDKSUPPORTDIR
)/lcc GBDKLIBDIR
=$(GBDKLIBINSTALLDIR
)
31 gbdk-support-lcc
: gbdk-support-lcc-clean
32 make
-C
$(GBDKSUPPORTDIR
)/lcc GBDKLIBDIR
=$(GBDKLIBINSTALLDIR
)
34 gbdk-support-install
: gbdk-support-lcc
35 cp
$(GBDKSUPPORTDIR
)/lcc
/lcc
$(BINDIR
)
37 gbdk-support-lcc-clean
:
38 make
-C
$(GBDKSUPPORTDIR
)/lcc
clean