Files
macports-ports/lang/cc65/files/patch-libsrc-Makefile.diff
Ryan Schmidt 02f911f953 cc65: Fix version, fix universal, use -Os, etc.
Fix the version number displayed by the programs.

Use libtool instead of ar to make the static library so that the
universal variant can be used.

Use -Os or whatever the MacPorts optimization flags are.

Disable silent rules.

Specify the correct license.

Update homepage.
2021-09-26 07:04:05 -05:00

24 lines
748 B
Diff

Disable silent rules.
--- libsrc/Makefile.orig 2020-05-30 14:03:15.000000000 -0500
+++ libsrc/Makefile 2021-09-26 05:32:34.000000000 -0500
@@ -263,16 +263,14 @@
define ASSEMBLE_recipe
-$(if $(QUIET),,@echo $(TARGET) - $<)
-@$(CA65) -t $(TARGET) $(CA65FLAGS) --create-dep $(@:.o=.d) -o $@ $<
+$(CA65) -t $(TARGET) $(CA65FLAGS) --create-dep $(@:.o=.d) -o $@ $<
endef # ASSEMBLE_recipe
define COMPILE_recipe
-$(if $(QUIET),,@echo $(TARGET) - $<)
-@$(CC65) -t $(TARGET) $(CC65FLAGS) --create-dep $(@:.o=.d) --dep-target $@ -o $(@:.o=.s) $<
-@$(CA65) -t $(TARGET) -o $@ $(@:.o=.s)
+$(CC65) -t $(TARGET) $(CC65FLAGS) --create-dep $(@:.o=.d) --dep-target $@ -o $(@:.o=.s) $<
+$(CA65) -t $(TARGET) -o $@ $(@:.o=.s)
endef # COMPILE_recipe