-
+ D946187EDC8013ACEC997499092EB30464487922925230FBFE5D21EA6CD76320625E947B8F47CF19EC4C47987CC5DCD0C22E6DBFB4B40E4B0F93189C29B5BFC9
mpi/Makefile
(0 . 0)(1 . 25)
5272 PROGRAM = mpi.a
5273
5274 BUILD=obj
5275 DIST=bin
5276
5277 CXX = gcc
5278 OBJECTS = $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(wildcard *.c)))
5279 FLAGS = -g -Wall
5280 INCLUDE = -I include
5281
5282 .SUFFIXES: .o .c
5283
5284 $(BUILD)/%.o:
5285 $(CXX) $(FLAGS) $(INCLUDE) -c $*.c -o $@
5286
5287 all: $(PROGRAM)
5288
5289 $(PROGRAM): $(OBJECTS)
5290 ar rcs $(DIST)/$(PROGRAM) $(OBJECTS)
5291
5292 clean :
5293 rm -rf nul core *flymake* $(BUILD)/*.o $(DIST)/$(PROGRAM) *~ bin/*
5294
5295 check-syntax:
5296 $(CXX) -c $(FLAGS) $(INCLUDE) -o nul -Wall -S $(CHK_SOURCES)