On 11/24/20 10:41 AM, Christof Ressi wrote:
@Hans Looking at the makefile, I think you're supposed to run either "make pd_darwin" (for macOS) or "make pd_nt" (for Windows with MSVC). There seems to be no Linux support.
@Julian: Consider using "pd-lib-builder" instead of handwritten makefiles, as this is the build system used by most recent Pd externals. The makefile then becomes trivial and it automatically works on all major platforms (with GCC or clang):
|# Makefile for shifter~ lib.name = shifter~ class.sources = shifter~.c datafiles = shifter~-help.pd include Makefile.pdlibbuilder |
please use a settable path for the pd-lib-builder makefile, even if it is in the same directory:
# Makefile for shifter~
lib.name = shifter~
class.sources = shifter~.c
datafiles = shifter~-help.pd
PDLIBBUILDER_DIR=.
include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder
it's probably all the same to you, but makes packaging much easier.
fmgrdsa IOhannes
PS: I should update the pd-lib-builder README ;-)