[svn] / ecrypt / trunk / test / compiler.mk  

svn: ecrypt/trunk/test/compiler.mk

Diff for /ecrypt/trunk/test/compiler.mk between version 79 and 112

version 79, Sun Aug 21 16:13:31 2005 UTC version 112, Tue Nov 1 19:11:32 2005 UTC
Line 10 
Line 10 
   
   obj = .obj    obj = .obj
   exe = .exe    exe = .exe
     out = -Fo
   
   ifeq ($(shell uname),Linux)    ifeq ($(shell uname),Linux)
     run = wine      run = wine
Line 30 
Line 31 
   opt ?= -O2 -fomit-frame-pointer    opt ?= -O2 -fomit-frame-pointer
 endif  endif
   
   ifeq ($(comp),mingw)
     CC = $(cc) -Wall -pedantic $(std)
     version = $(cc) -v
   
     opt ?= -O2 -fomit-frame-pointer
   
     exe = .exe
   
     ifeq ($(shell uname),Linux)
       run = wine
     endif
   endif
   
 ifeq ($(comp),cc)  ifeq ($(comp),cc)
   CC = $(cc)    CC = $(cc)
   
Line 44 
Line 58 
   
 obj ?= .o  obj ?= .o
 exe ?=  exe ?=
   out ?= -o $(empty)
   
   testobj ?= $(obj)
   
   %$(testobj): %.c
           $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(out)$@ $<
   
   %$(testobj): %.S
           $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(out)$@ $<
   
 %$(obj): %.c  %$(testobj): %.s
         $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c -o $@ $<          $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(out)$@ $<
   
 %$(id)$(exe): %$(obj)  %$(id)$(exe): %$(testobj)
         $(CC) $(LDFLAGS) $(TARGET_ARCH) $^ -o $@          $(CC) $(LDFLAGS) $(TARGET_ARCH) $^ -o $@
   
 version:  version:


Generate output suitable for use with a patch program
Legend:
Removed from v.79  
changed lines
  Added in v.112

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help