summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-03-22 00:19:57 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-03-22 00:19:57 +0000
commitdbebd6a459a39bd7e5626c2dfb297f27edfbdacc (patch)
tree81aa3ea857ffc201d2e89854c116346324dd2a73 /sys/arch/amiga
parentadb08b99bcf0a4ee3073cde27d77e42764a767da (diff)
Make this build work with objdirs, at least as links
Still need work for plain obj dirs.
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/stand/boot/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/amiga/stand/boot/Makefile b/sys/arch/amiga/stand/boot/Makefile
index 4dc2b872c9d..79cd0b85032 100644
--- a/sys/arch/amiga/stand/boot/Makefile
+++ b/sys/arch/amiga/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 1997/01/16 09:26:21 niklas Exp $
+# $OpenBSD: Makefile,v 1.2 1997/03/22 00:19:56 niklas Exp $
NOPROG= installboot
MAN=installboot.8
@@ -34,7 +34,9 @@ COPTS += -Wall -Wstrict-prototypes
BOOTBLOCKS=xxboot # XXX fdboot is too large at the moment.
-.s.o: ; $(CC) $(CAFLAGS) $(COPTS) -x assembler-with-cpp -o $*.o -c $*.s
+.s.o:
+ $(CC) $(CAFLAGS) $(COPTS) -x assembler-with-cpp -o $*.o -c \
+ ${.CURDIR}/$*.s
#libs:
@@ -49,10 +51,10 @@ all: $(BOOTBLOCKS) installboot
$(OBJS): txlt
xxstart.s: bbstart.s
- cpp bbstart.s > $@
+ cpp ${.CURDIR}/bbstart.s > $@
fdstart.s: bbstart.s
- cpp -DAUTOLOAD=8192 bbstart.s > $@
+ cpp -DAUTOLOAD=8192 ${.CURDIR}/bbstart.s > $@
x.out: xxstart.o $(OBJS) $(LIBS)
$(LD) $(LDFLAGS) -r -dc -e _start -o x.out xxstart.o $(OBJS) $(LIBS)