mirror of
https://github.com/vivier/EMILE.git
synced 2025-03-11 08:32:45 +00:00
correct install
This commit is contained in:
parent
fe964144eb
commit
39af084fed
@ -11,7 +11,10 @@ ASFLAGS = -I$(TOP)
|
|||||||
|
|
||||||
CFLAGS = $(OPT_CFLAGS) -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2
|
CFLAGS = $(OPT_CFLAGS) -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2
|
||||||
|
|
||||||
SOURCES = head.S
|
SOURCES = head.S
|
||||||
|
|
||||||
|
PROGRAMS = apple_driver
|
||||||
|
CLEAN = apple_driver.o
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
@ -21,15 +24,15 @@ apple_driver: apple_driver.o
|
|||||||
$(OBJCOPY) -j .text -j .data -j .rodata -j .got \
|
$(OBJCOPY) -j .text -j .data -j .rodata -j .got \
|
||||||
-O binary apple_driver.o apple_driver
|
-O binary apple_driver.o apple_driver
|
||||||
|
|
||||||
apple_driver.o: head.o
|
apple_driver.o: head.o
|
||||||
$(LD) -o apple_driver.o head.o
|
$(LD) -o apple_driver.o head.o
|
||||||
|
|
||||||
.S.o:
|
.S.o:
|
||||||
$(AS) $(ASFLAGS) -o $@ $^
|
$(AS) $(ASFLAGS) -o $@ $^
|
||||||
|
|
||||||
install::
|
install::
|
||||||
install -d $(DESTDIR)/$(PREFIX)/lib/emile/
|
install -d $(DESTDIR)/$(PREFIX)/lib/emile/
|
||||||
install first_floppy $(DESTDIR)/$(PREFIX)/lib/emile/apple_driver
|
install apple_driver $(DESTDIR)/$(PREFIX)/lib/emile/apple_driver
|
||||||
|
|
||||||
uninstall::
|
uninstall::
|
||||||
rm -f $(DESTDIR)/$(PREFIX)/lib/emile/apple_driver
|
rm -f $(DESTDIR)/$(PREFIX)/lib/emile/apple_driver
|
||||||
|
Loading…
x
Reference in New Issue
Block a user