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

svn: ecrypt/trunk/test/compiler.mk

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

version 91, Thu Aug 25 10:31:14 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 57 
Line 58 
   
 obj ?= .o  obj ?= .o
 exe ?=  exe ?=
   out ?= -o $(empty)
   
 %$(obj): %.c  testobj ?= $(obj)
         $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c -o $@ $<  
   
 %$(id)$(exe): %$(obj)  %$(testobj): %.c
           $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(out)$@ $<
   
   %$(testobj): %.S
           $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(out)$@ $<
   
   %$(testobj): %.s
           $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(out)$@ $<
   
   %$(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.91  
changed lines
  Added in v.112

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help