]> AND Private Git Repository - Cipher_code.git/blob - OneRoundIoT/EnhancedOneRound/Simon_speck/C/makefile
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
update of enhance one round
[Cipher_code.git] / OneRoundIoT / EnhancedOneRound / Simon_speck / C / makefile
1 all: test user 
2
3 GIT_VERSION := $(shell git describe --abbrev=0 --always)
4
5 CFLAGS=-c -Wall -Wextra -Wshadow -Wconversion -std=c99 -O3 -DVERSION=\"$(GIT_VERSION)\"
6
7 user: simon.o speck.o user_tool.o
8         gcc simon.o speck.o user_tool.o -o user  
9
10 user_tool.o: user_tool.c
11         gcc $(CFLAGS) user_tool.c
12
13 tests: simon.o speck.o tests.o
14         gcc simon.o speck.o tests.o -o tests
15
16 tests.o: tests.c
17         gcc $(CFLAGS) tests.c
18
19 simon.o: simon.c
20         gcc $(CFLAGS) simon.c 
21
22 speck.o: speck.c
23         gcc $(CFLAGS) speck.c
24
25 test: tests
26         ./tests
27
28 clean:
29         rm -rf *o tests user