Page MenuHomec4science

Makefile.solaris
No OneTemporary

File Metadata

Created
Sat, Nov 23, 08:27

Makefile.solaris

# solaris = Sun box, c++, no MPI, no FFTs
SHELL = /bin/sh
# System-specific settings
# LINKFORT/FORTLIB settings can be removed if not using meam or reax packages
# LINKBLAS/BLASLIB settings can be removed if not using user-atc package
# LINKGPU/GPULIB settings can be removed if not using gpu package
include Makefile.package
CC = c++
CCFLAGS = $(PKGINC) -O -I../STUBS -DFFT_NONE
DEPFLAGS = -M
LINK = c++
LINKFORT =
LINKBLAS =
LINKGPU =
LINKFLAGS = $(PKGPATH) $(LINKFORT) $(LINKBLAS) $(LINKGPU)
USRLIB = $(PKGLIB) -lmpi
FORTLIB =
BLASLIB =
GPULIB =
SYSLIB =$(FORTLIB) $(BLASLIB) $(GPULIB)
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
$(OBJ): $(INC)
#include $(DEPENDS)

Event Timeline