source: trunk/mindi/Makefile.parted2fdisk @ 1

Last change on this file since 1 was 1, checked in by bcornec, 14 years ago

Initial import from latest mondo-2.04_cvs_20050503/mindi-1.04_cvs_20050503 on http://www.mondorescue.org

File size: 497 bytes
Line 
1ARCH=$(shell /bin/arch | sed 's/686/386/')
2PRG=parted2fdisk
3PERLV=5.8.0
4PERLBASE=/usr/lib/perl5/$(PERLV)/$(ARCH)-linux-thread-multi
5PERLINC=$(PERLBASE)/CORE
6PERLLIB=$(PERLBASE)/auto/DynaLoader/DynaLoader.a
7SUB=rootfs/sbin
8
9$(PRG): $(PRG).c
10    $(CC) -O -static -s -I$(PERLINC) -o $(PRG) $(PRG).c -L$(PERLINC) -lperl -lm -lcrypt $(PERLLIB) -lpthread -ldl
11
12$(PRG).c: $(PRG).pl
13    perlcc $(PRG).pl -c -o $(PRG).c
14
15clean:
16    rm -f $(PRG) $(PRG).c
17
18install: $(PRG)
19    cp -a $(PRG) $(DEST)$(SUB)/$(PRG)-$(ARCH)
Note: See TracBrowser for help on using the repository browser.