Releasing debian version 3:6.03+dfsg-10.
[syslinux-debian.git] / com32 / elflink / Makefile
blobfce1be8c13e7c890356ae72c04951302d5853773
1 ## -----------------------------------------------------------------------
2 ##
3 ## Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
4 ##
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 ## Boston MA 02111-1307, USA; either version 2 of the License, or
9 ## (at your option) any later version; incorporated herein by reference.
11 ## -----------------------------------------------------------------------
13 MODULES =
14 TESTFILES =
16 all: $(MODULES) $(TESTFILES)
18 test_memalign.elf : test_memalign.o $(LIBS) $(C_LIBS)
19 $(LD) $(LDFLAGS) -o $@ $^
21 test_com32.elf: CFLAGS += -DELF_DEBUG
22 test_com32.elf: test_com32.o ../lib/libcom32min.a $(LIBGCC)
23 $(LD) -n $(LDFLAGS) -o $@ test_com32.o $(LIBGCC) --whole-archive ../lib/libcom32min.a -Map test_com32.map
25 tidy dist:
26 rm -f *.o *.lo *.a *.lst *.elf .*.d *.map
28 clean: tidy
29 rm -f *.lss *.c32 *.lnx *.com
31 spotless: clean
32 rm -f *~ \#*
34 install:
36 -include .*.d