3 GIT_VERSION := $(shell git describe --abbrev=0 --always)
5 CFLAGS=-c -Wall -Wextra -Wshadow -Wconversion -std=c99 -O3 -DVERSION=\"$(GIT_VERSION)\"
7 user: simon.o speck.o user_tool.o
8 gcc simon.o speck.o user_tool.o -o user
10 user_tool.o: user_tool.c
11 gcc $(CFLAGS) user_tool.c
13 tests: simon.o speck.o tests.o
14 gcc simon.o speck.o tests.o -o tests