[svn] / ecrypt / trunk / submissions / achterbahn / Makefile  

svn: ecrypt/trunk/submissions/achterbahn/Makefile

File: [svn] / ecrypt / trunk / submissions / achterbahn / Makefile (download)
Revision: 3, Sun Jun 26 19:47:59 2005 UTC (7 years, 11 months ago) by cdecanni
File size: 539 byte(s)
* modified `ECRYPT_KEYSIZE(i)' to make it conform to the API.
* enabled `DONT_COMPILE_TEST_CODE' with an #ifdef ECRYPT_API.

name = achterbahn
type = sync

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

ifdef STD
  std = $(STD)
else
  std = -std=c99
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