1 ## -----------------------------------------------------------------------
3 ## Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
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 ## -----------------------------------------------------------------------
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
26 rm -f
*.o
*.lo
*.a
*.lst
*.elf .
*.d
*.map
29 rm -f
*.lss
*.c32
*.lnx
*.com