-#!/usr/bin/perl
+#!/usr/bin/env perl
# Helper script to compile Cinelerra blend algebra functions
# Calling: BlendAlgebraCompile.pl [options] <function filename>
include ../../plugin_defs
+PLATFORM = $(shell uname)
+ifneq ($(PLATFORM), NetBSD)
LDFLAGS += -ldl
+endif
OBJS = $(OBJDIR)/blendalgebra.o
-#!/usr/bin/perl
+#!/usr/bin/env perl
# Helper script to compile Cinelerra blend programs
# Calling: BlendProgramCompile.pl [options] <program filename>
include ../../plugin_defs
+PLATFORM = $(shell uname)
+ifneq ($(PLATFORM), NetBSD)
LDFLAGS += -ldl
+endif
OBJS = $(OBJDIR)/blendprogram.o