URL
https://opencores.org/ocsvn/gost28147-89/gost28147-89/trunk
Subversion Repositories gost28147-89
[/] [gost28147-89/] [trunk/] [utils/] [makefile] - Rev 5
Compare with Previous | Blame | View Log
CC = gcc
CFLAGS =
DEFS = -std=c11 -Wall -O2
LIBS = -lssl -lcrypto
DEPS = gost89.h
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(DEFS) $(CFLAGS)
benchmark: benchmark.o gost89.o
$(CC) -o $@ $^ $(DEFS) $(CFLAGS) $(LIBS)
generator: generator.o gost89.o
$(CC) -o $@ $^ $(DEFS) $(CFLAGS) $(LIBS)
all: benchmark generator
clean:
rm -f *.o benchmark generator
.DEFAULT_GOAL := all