BachelorWork/appendixes/BC_ZK/demoExamples/makefile

22 lines
662 B
Makefile
Raw Permalink Normal View History

2021-05-24 20:44:55 +00:00
#Organization: TUKE FEI KEMT 2021
#Feld of study: 9.2.4 Computer engineering
#Study program: Computer Networks, Bachelor Study
#Author: Marek Rohac
#Compiler: Winlibs GCC (MinGW-W64 x86_64-posix-seh, built by Brecht Sanders) 10.2.0
#Description: simply Makefile for OS Windows
CC=gcc
CFLAGS= -Wall -Wextra -g
WINFLAGS = -lbcrypt
2021-05-27 22:53:37 +00:00
OSSLFLAGS = -I./openssl/include -L./openssl/lib -llibcrypto
OSSL = openssl
SOURCES= bcryptgenrandom cryptgenrandom cycleMeasure rand rands timeMeasuring rtlgenrandom
all: $(OSSL) $(SOURCES)
2021-05-24 20:44:55 +00:00
2021-05-27 22:53:37 +00:00
$(OSSL): %: %.c
$(CC) -o $@ $< $(CFLAGS) $(OSSLFLAGS)
$(SOURCES): %: %.c
$(CC) -o $@ $< $(CFLAGS) $(WINFLAGS)
2021-05-24 20:44:55 +00:00
clean:
2021-05-27 22:53:37 +00:00
$(RM) *.exe