# Depending on the platform, you need select the correct definition

HOST= sun
MAKE= make

# Compiler command and options
CC= cc
CFLAGS=
LDLIBS= -lm

# Other commands:
AR= ar rcv
RANLIB= ranlib
CP= cp -p
RM = - rm -f
DUMMY = true
CHMOD= chmod
CD = cd
PERL = perl

# nothing special required for linking
CCLINK = $(CC)

# Permissions:
LIB_PERMISSION= 0644
BIN_PERMISSION= 0755

# Extensions:
EXE=
OBJ= .o
LIB= .a

# For make clean:
DIRT = *$(OBJ)

# Disable builtin suffixes and rules, so we can
# be sure what is going on:
.SUFFIXES:
.SUFFIXES:   $(OBJ) .c

.c:
	$(DUMMY)
# Now put in our default rule:
# GNU make pattern, instead of suffix rule
# The explicit -o option is required for cases where
# the source file is not in the current directory. It
# causes the object file to land in the source directory
# instead of the current directory.
#%$(OBJ) : %.c
.c$(OBJ) :
	$(CC) -c $(CFLAGS) $(INCLUDES) -o $*$(OBJ) $<


