larsbrinkhoff / pdp10-its-disassembler

Disassembler and other tools for files in ITS formats
GNU General Public License v2.0
19 stars 13 forks source link

Update Makefile #158

Closed gwright83 closed 1 year ago

gwright83 commented 1 year ago

Use $(MAKE) for recursive make invocation. This respects the flags passed to the top level make as well as invoking the correct binary if the default is overridden on the command line.

The change fixes an ITS build failure on FreeBSD, which used gmake MAKE=gmake EMULATOR=... to recursively build everything using GNU make (gmake) instead of BSD make.

Tested on FreeBSD 13.1 using clang 13.0.0 (default compiler) and sanity checked on MacOS Monterey 12.6.2 using clang 14.0.0 (Xcode 14.1). (MacOS uses GNU make by default.)

larsbrinkhoff commented 1 year ago

Thanks!