1 ## -----------------------------------------------------------------------
3 ## Copyright 2001-2010 H. Peter Anvin - All Rights Reserved
4 ## Copyright 2010 Michal Soltys
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
9 ## Boston MA 02111-1307, USA; either version 2 of the License, or
10 ## (at your option) any later version; incorporated herein by reference.
12 ## -----------------------------------------------------------------------
18 OBJS
= chain.o partiter.o utility.o options.o mangle.o
22 chain.elf
: $(OBJS
) $(LIBS
) $(C_LIBS
)
23 $(LD
) $(LDFLAGS
) -o
$@
$^
26 $(CC
) $(MAKEDEPS
) $(CFLAGS
) $(CHAINEXTOPT
) -c
-o
$@
$<
29 rm -f
*.o
*.lo
*.a
*.lst
*.elf .
*.d
*.tmp
35 rm -f
*.lss
*.c32
*.com