source: trunk/debathena/debathena/ldso1-stub/Makefile @ 25862

Revision 25862, 289 bytes checked in by jdreed, 11 years ago (diff)
In ldso1-stub: * Write it in assembly, not C, because apparently C doesn't work. (Trac: #476) * Switch to copyright-format 1.0 * Switch to dh7 from CDBS * Bump Standards-Version
Line 
1ASM=nasm
2LD=ld
3
4all: ld-linux-1
5
6ld-linux-1: ld-linux-1.asm
7        $(ASM) -f elf ld-linux-1.asm
8        $(LD) -m elf_i386 -o ld-linux-1 ld-linux-1.o
9
10install: all
11        install -d $(DESTDIR)/lib
12        install -m755 ld-linux-1 $(DESTDIR)/lib/ld-linux.so.1
13
14clean:
15        -rm ld-linux-1 ld-linux-1.o
16
17.PHONY: clean all
Note: See TracBrowser for help on using the repository browser.