aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/makefile.pd-darwin
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/makefile.pd-darwin')
-rwxr-xr-xexternals/grill/vasp/makefile.pd-darwin91
1 files changed, 0 insertions, 91 deletions
diff --git a/externals/grill/vasp/makefile.pd-darwin b/externals/grill/vasp/makefile.pd-darwin
deleted file mode 100755
index a8fdd3c6..00000000
--- a/externals/grill/vasp/makefile.pd-darwin
+++ /dev/null
@@ -1,91 +0,0 @@
-# VASP - vector assembling vector processor
-# Copyright (c)2002-2004 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ OSX (darwin)
-#
-# usage:
-# to build run "make -f makefile.pd-darwin"
-# to install (as root), do "make -f makefile.pd-darwin install"
-# to install help, do "make -f makefile.pd-darwin install-help"
-#
-
-CONFIG=config-pd-darwin.txt
-
-include ${CONFIG}
-
-# compiler stuff
-INCLUDES=$(PDINC)
-FLAGS=-DFLEXT_SYS=2 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -fno-exceptions
-CFLAGS=-O2 ${UFLAGS} -fmove-all-movables -frerun-loop-opt -fprefetch-loop-arrays
-#CFLAGS+=-funroll-loops -freduce-all-givs -fschedule-insns2 -foptimize-register-move
-LIBS=m
-LDFLAGS=-bundle -bundle_loader $(PDBIN)
-FRAMEWORKS=Carbon veclib
-
-ifdef FLEXT_SHARED
-CFLAGS+=-DFLEXT_SHARED
-LDFLAGS+=-L$(FLEXTPATH)
-FLEXTLIB=-lflext
-
-else
-
-CFLAGS+=-DFLEXT_THREADS
-FLEXTLIB=$(FLEXTPATH)/libflext_t.a
-
-endif
-
-
-# ----------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-include make-files.txt
-
-MAKEFILE=makefile.pd-darwin
-TARGET=$(TARGDIR)/$(NAME).pd_darwin
-
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE) $(CONFIG)
- touch $(patsubst %,$(SRCDIR)/%,$(SRCS))
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
- $(CXX) $(LDFLAGS) $^ $(patsubst %,-framework %,$(FRAMEWORKS)) $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) $(FLEXTLIB) -o $@
- chmod 755 $@
-
-
-$(INSTDIR):
- -mkdir $(INSTDIR)
-
-$(INSTDIR)/vasp: $(INSTDIR)
- -mkdir $(INSTDIR)/vasp
-
-install:: $(INSTDIR)/vasp
-
-install:: $(TARGET) pd/*
- -cp $^ $(INSTDIR)/vasp
-# chown -R root.root $(INSTDIR)/vasp
-
-
-$(HELPDIR)/vasp:
- -mkdir $(HELPDIR)/vasp
-
-install-help:: $(HELPDIR)/vasp
-
-install-help:: ./pd-help
- cp $^/*.* $(HELPDIR)/vasp
-# chown -R root.root $(HELPDIR)/vasp
-
-
-.PHONY: clean
-clean:
- rm -f $(TARGDIR)/*.o $(TARGET)
-