| 2850 |
dpurdie |
1 |
########################################################################
|
|
|
2 |
# Copyright (C) 1998-2011 Vix Technology, All rights reserved
|
|
|
3 |
#
|
|
|
4 |
# Module name : makefile.pl
|
|
|
5 |
# Module type : JATS Makefile
|
|
|
6 |
# Environment(s): JATS Build System
|
|
|
7 |
#
|
|
|
8 |
# Description : Makefile for TexasInstrumentsMsp430
|
|
|
9 |
#
|
|
|
10 |
#......................................................................#
|
|
|
11 |
#
|
|
|
12 |
# exec build system
|
|
|
13 |
#
|
|
|
14 |
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
|
|
|
15 |
require "$ARGV[1]";
|
|
|
16 |
|
|
|
17 |
#
|
|
|
18 |
# Build platform definitions ..
|
|
|
19 |
#
|
|
|
20 |
Platform( '*' );
|
|
|
21 |
|
|
|
22 |
############################################################################
|
|
|
23 |
# Define the source files
|
|
|
24 |
#
|
|
|
25 |
MakeNsisPackage( '*',
|
|
|
26 |
'--Script=msp430.nsi' , # Script(s) to process
|
|
|
27 |
'--Verbose=2' , # Default = 2 0..4 allowed
|
|
|
28 |
);
|
|
|
29 |
|
|
|
30 |
#.............................................................................
|
|
|
31 |
# Finally generate the makefile
|
|
|
32 |
#
|
|
|
33 |
MakefileGenerate();
|
|
|
34 |
|
|
|
35 |
#.. Successful termination
|
|
|
36 |
1;
|
|
|
37 |
|