* added new makefiles. * slightly modified test vectors. * did some cleanup in scripts and test code.
compiler ?= gcc
ifeq (${compiler},msvc)
CC = cl /nologo
version = cl
opt ?= /Ox
obj = .obj
exe = .exe
objo = /Fo
exeo = /Fe
D = /D
I = /I
c = /c
run = wine
endif
ifeq (${compiler},icc)
CC = icc $(std)
version = icc -v
opt ?= -O3
endif
ifeq (${compiler},gcc)
CC = gcc -Wall -pedantic $(std)
version = gcc -v
opt ?= -O2 -fomit-frame-pointer
arch ?= -march=pentium4
endif
obj ?= .o
exe ?=
objo ?= -o $(empty)
exeo ?= -o $(empty)
D ?= -D
I ?= -I
c ?= -c
%$(obj): %.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) $(c) $(objo)$@ $<
%$(id)$(exe): %$(obj)
$(CC) $(LDFLAGS) $(TARGET_ARCH) $^ $(exeo)$@
strip $@
version:
@$(version) 2>&1
.PHONY: version
|
eSTREAM Project Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |