-
+ 8EBD567A5F4B3C1A8AABCCA0501ED2D4EB3C4EADB593F99CE07C8FE7C1DFB9879EC8457C7125D99CBDA9CEB9D8E3EAB7931F0A4879E33344DF6E0904E489FAEA
eucrypt/smg_rsa/Makefile
(0 . 0)(1 . 27)
14 PROGRAM = smg_rsa.a
15
16 BUILD=obj
17 DIST=bin
18
19 CXX = gcc
20 OBJECTS = $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(wildcard *.c)))
21 MPI = ../mpi
22 FLAGS = -g -Wall
23 INCLUDE = -I include -I $(MPI)/include
24
25 .SUFFIXES: .o .c
26
27 $(BUILD)/%.o:
28 $(CXX) $(FLAGS) $(INCLUDE) -c $*.c -o $@
29
30 all: $(PROGRAM)
31
32 $(PROGRAM): $(OBJECTS)
33 ar rcs $(DIST)/$(PROGRAM) $(OBJECTS)
34 #ld -o $(DIST)/$(PROGRAM).o $(OBJECTS) -lc
35
36 clean :
37 rm -rf nul core *flymake* $(BUILD)/*.o $(DIST)/$(PROGRAM) *~ bin/*
38
39 check-syntax:
40 $(CXX) -c $(FLAGS) $(INCLUDE) -o nul -Wall -S $(CHK_SOURCES)