-
+ B063BF6E022989224FA35D648E8FC1CEF134C07C8602D502F83A2FDBA824707919FC09460552C52E6EE533625E949A4F83E733182050B728CE64E92EF8C26AD8
mpi/tests/Makefile
(0 . 0)(1 . 24)
5426 PROGRAM = test_mpi
5427
5428 CXX = gcc
5429 OBJECTS := $(patsubst %.c,%.o,$(wildcard *.c))
5430 FLAGS = -g -Wall
5431 INCLUDE = -I ../include
5432 MPI = ../bin/mpi.a
5433 LIBS := $(MPI)
5434
5435 .SUFFIXES: .o .c
5436
5437 .c.o:
5438 $(CXX) $(FLAGS) $(INCLUDE) -c $< -o $@
5439
5440 all: $(PROGRAM)
5441
5442 $(PROGRAM): $(OBJECTS)
5443 $(CXX) $(FLAGS) $(INCLUDE) -o $(PROGRAM) $(OBJECTS) $(LIBS)
5444
5445 clean :
5446 rm -rf nul core *flymake* *.o $(PROGRAM) *~ bin obj
5447
5448 check-syntax:
5449 $(CXX) -c $(FLAGS) $(INCLUDE) -o nul -Wall -S $(CHK_SOURCES)