odyssey/examples/makefile

12 lines
298 B
Makefile
Raw Normal View History

2017-05-16 10:10:00 +00:00
CC = gcc
RM = rm
2017-05-16 13:58:06 +00:00
CFLAGS = -I. -Wall -g -O3 -I../src
2017-05-16 10:10:00 +00:00
LFLAGS_LIB = ../src/libmachinarium.a -pthread -lssl -lcrypto
LFLAGS = $(LFLAGS_LIB)
EXAMPLES = benchmark
all: clean $(EXAMPLES)
benchmark:
$(CC) $(CFLAGS) benchmark.c $(LFLAGS) -o benchmark
clean:
$(RM) -f $(EXAMPLES)