52 |
# we slurp in all the Parted code we need and stuff it into one |
# we slurp in all the Parted code we need and stuff it into one |
53 |
# object file along with our code that uses it. |
# object file along with our code that uses it. |
54 |
|
|
55 |
LDFLAGS-libstore.so += $(PARTED_LIBS) |
libstore.so-LDFLAGS += $(PARTED_LIBS) |
56 |
|
|
57 |
parted.o: part.o $(..)config.make |
parted.o: part.o $(..)config.make |
58 |
$(CC) -r -o $@ $< $(PARTED_LIBS) |
$(CC) -nostdlib -r -o $@ $< $(PARTED_LIBS) |
59 |
|
|
60 |
parted_p.o: part_p.o $(..)config.make |
parted_p.o: part_p.o $(..)config.make |
61 |
$(CC) -r -o $@ $< $(PARTED_LIBS:=_p) |
$(CC) -nostdlib -r -o $@ $< $(PARTED_LIBS:=_p) |
62 |
|
|
63 |
parted_pic.o: part_pic.o |
parted_pic.o: part_pic.o |
64 |
ln -f $< $@ |
ln -f $< $@ |