pkgsrc/devel/z80-asm/patches/patch-Makefile
ryoon e7e0e004c2 Fix build under Apple OS X, bump PKGREVISION.
And install dosuments.
From Dean Matzkov via e-mail.
2016-02-21 07:40:39 +00:00

23 lines
857 B
Text

$NetBSD: patch-Makefile,v 1.1 2016/02/21 07:40:39 ryoon Exp $
--- Makefile.orig 2006-02-06 13:45:45.000000000 +0000
+++ Makefile
@@ -48,7 +48,7 @@ clean:
$(RM) .bus_proto
cd hardware; make clean
-install:
+install-all:
chmod a+rx $(ASM) $(MONI); cp -p $(ASM) $(MONI) $(BIN_DIR)
chmod a+r doc/man/z80-*.1; cp -p doc/man/z80-*.1 $(MAN_DIR)/man1
chmod a+r doc/man/z80-*.3; cp -p doc/man/z80-*.3 $(MAN_DIR)/man3
@@ -115,7 +115,7 @@ cpu.a: execute.o decode-table.o decode.o
ar rcs cpu.a execute.o decode-table.o decode.o memory.o ports.o
-$(ASM): z80-asm.o dummy.o asm.a $(HW)
- gcc -lc -o $(ASM) z80-asm.o dummy.o asm.a $(HW)
+$(ASM): z80-asm.o z80-cpu.o dummy.o asm.a $(HW)
+ gcc -lc -o $(ASM) z80-asm.o z80-cpu.o dummy.o asm.a $(HW)
$(MONI): z80-mon.o cpu.a console.o asm.a $(HW)
gcc -lc -o $(MONI) z80-mon.o cpu.a console.o asm.a $(HW)