* a few small changes.
all: build include $(root)/test/compiler.mk check: .dummy$(obj) $(RM) .dummy* build: ecrypt-test$(id)$(exe) hash: ecrypt-test$(id)$(exe) @md5sum ecrypt-test$(id)$(exe) command: ecrypt-test$(id)$(exe) @echo $(run) ./ecrypt-test$(id)$(exe) api = ecrypt-$(type).h ifdef var defvar = $(D)ECRYPT_VARIANT=$(var) endif CFLAGS = $(opt) LDFLAGS = $(CFLAGS) TARGET_ARCH = $(arch) CPPFLAGS = $(D)ECRYPT_API=$(api) $(defvar) $(I) $(root)/include $(I) . VPATH = $(root)/test:$(root)/api:$(root)/include ecrypt-test$(id)$(exe): ecrypt-test$(obj) ecrypt-$(type)$(obj) $(name)$(obj) $(api): ecrypt-config.h ecrypt-machine.h ecrypt-portable.h ecrypt-test$(obj): $(api) ecrypt-$(type)$(obj): $(api) $(name)$(obj): $(api) .dummy$(obj): .dummy.c $(api) .dummy.c: echo "#include \"$(api)\"" > .dummy.c; clean: $(RM) ecrypt-test$(id)$(exe) *$(obj) .dummy* .PHONY: all build hash command clean
|
eSTREAM Project Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |