patch-Ma2Asm_Makefile_in 884 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-Ma2Asm_Makefile_in,v 1.2 2017/06/08 15:25:57 espie Exp $
  2. Index: Ma2Asm/Makefile.in
  3. --- Ma2Asm/Makefile.in.orig
  4. +++ Ma2Asm/Makefile.in
  5. @@ -53,14 +53,14 @@ CHKMA_OBJS=chkma@OBJ_SUFFIX@ chkma_ma@OBJ_SUFFIX@ ../E
  6. chkma@OBJ_SUFFIX@: chkma.c
  7. if [ "$$FC" = "Y" ]; then FCFLAGS='-DFAST'; fi; \
  8. - $(GPLC) --c-compiler "$(CC)" -C "$(CFLAGS) $$FCFLAGS" -c chkma.c
  9. + export PL_PATH=$(PWD)/../ ; ../TopComp/$(GPLC) --c-compiler "$(CC)" -C "$(CFLAGS) $$FCFLAGS" -c chkma.c
  10. chkma_ma@ASM_SUFFIX@: chkma_ma.ma ma2asm@EXE_SUFFIX@
  11. if [ "$$FC" != "Y" ]; then MAFLAGS='--ignore-fast'; fi; \
  12. ./ma2asm --comment $$MAFLAGS chkma_ma.ma
  13. chkma_ma@OBJ_SUFFIX@: chkma_ma@ASM_SUFFIX@
  14. - $(GPLC) -c chkma_ma@ASM_SUFFIX@
  15. + export PL_PATH=$(PWD)/../ ;../TopComp/$(GPLC) -c chkma_ma@ASM_SUFFIX@
  16. chkma@EXE_SUFFIX@: $(CHKMA_OBJS)
  17. $(GPLC) -o chkma@EXE_SUFFIX@ $(CHKMA_OBJS) --no-pl-lib