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

svn: ecrypt/trunk/test/compiler.mk

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

version 60, Mon Aug 15 21:48:48 2005 UTC version 112, Tue Nov 1 19:11:32 2005 UTC
Line 6 
Line 6 
   CC = $(cc) -nologo    CC = $(cc) -nologo
   version = $(cc)    version = $(cc)
   
   opt ?= /Ox    opt ?= -Ox
   
   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)
     CC = $(cc)
   
     ifeq ($(shell uname),HP-UX)
       version = ($(cc) -V -E - < /dev/null > /dev/null)
     else
       version = $(cc) -V
     endif
   
     opt ?= -fast
   endif
   
 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 $@
         strip $@  
   
 version:  version:
         @$(version) 2>&1          @$(version) 2>&1


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

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help