include $(PVM_ROOT)/conf/$(PVM_ARCH).def # Imports: # ARCHCFLAGS = special cc flags # ARCHLIB = special libs needed for daemon PVMIDIR = $(PVM_ROOT)/include PVMLDIR = $(PVM_ROOT)/lib/$(PVM_ARCH) PVMLIB = -lpvm3 -lgpvm3 #object file and binary file directory: P = $(HOME)/pvm3/bin B = $(P)/$(PVM_ARCH) CFLAGS = -O -I$(PVMIDIR) -L$(PVMLDIR) $(ARCHCFLAGS) LIBS = -lm $(PVMLIB) $(ARCHLIB) CC = cc $(CFLAGS) all: $(B) $(B)/trsg $(B): [ -d $(B) ] || mkdir -p $(B) $(B)/trsg: trsg.c ${CC} trsg.c -o $(B)/trsg $(LIBS) clean: rm -f $(P)/*/trsg