[svn] / ecrypt / trunk / submissions / mir-1 / ref / Makefile  

svn: ecrypt/trunk/submissions/mir-1/ref/Makefile

File: [svn] / ecrypt / trunk / submissions / mir-1 / ref / Makefile (download)
Revision: 1, Sun Jun 26 18:46:26 2005 UTC (7 years, 11 months ago) by cdecanni
File size: 531 byte(s)
* imported original ECRYPT submissions after first automatic cleanup.

name = mir-1
type = sync

root = $(ECRYPT_ROOT)
api = ecrypt-$(type).h

ifdef STD
  std = $(STD)
else
  std = -ansi
endif

ifdef OPT
  opt = $(OPT)
else
  opt = -O3
endif

CFLAGS = -Wall -pedantic $(opt) $(std) 
CPPFLAGS = -DECRYPT_API=$(api) -I $(root)/include -I .
VPATH = $(root)/test:$(root)/api:$(root)/include

ecrypt-test: ecrypt-test.o ecrypt-$(type).o $(name).o

$(api): ecrypt-config.h ecrypt-machine.h ecrypt-portable.h 

ecrypt-test.o: $(api)
ecrypt-$(type).o: $(api)

$(name).o: $(api)

clean:
	$(RM) ecrypt-test *.o

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help