-
+ D946187EDC8013ACEC997499092EB30464487922925230FBFE5D21EA6CD76320625E947B8F47CF19EC4C47987CC5DCD0C22E6DBFB4B40E4B0F93189C29B5BFC9
mpi/Makefile
(0 . 0)(1 . 25)
685 PROGRAM = mpi.a
686
687 BUILD=obj
688 DIST=bin
689
690 CXX = gcc
691 OBJECTS = $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(wildcard *.c)))
692 FLAGS = -g -Wall
693 INCLUDE = -I include
694
695 .SUFFIXES: .o .c
696
697 $(BUILD)/%.o:
698 $(CXX) $(FLAGS) $(INCLUDE) -c $*.c -o $@
699
700 all: $(PROGRAM)
701
702 $(PROGRAM): $(OBJECTS)
703 ar rcs $(DIST)/$(PROGRAM) $(OBJECTS)
704
705 clean :
706 rm -rf nul core *flymake* $(BUILD)/*.o $(DIST)/$(PROGRAM) *~ bin/*
707
708 check-syntax:
709 $(CXX) -c $(FLAGS) $(INCLUDE) -o nul -Wall -S $(CHK_SOURCES)