view test/samples/composite/makefile @ 226:6e40eb9fb261

- different strategy for mach-o files to lookup symbol names, in order to be consistent with other functions (that use dladdr() and dlsym() calls, which mostly don't use '_' prefixes)
author Tassilo Philipp
date Sat, 15 Apr 2017 22:02:58 +0200
parents 3e629dc19168
children
line wrap: on
line source

TARGETS=args.s

#CC=gcc-mp-4.7 
#TARGET_ARCH=-march=corei7-avx 
#TARGET_ARCH=-march=corei7-avx -mavx -msse2avx
#-mno-vzeroupper
CFLAGS=-O3 
#-fomit-frame-pointer -fno-exceptions 
# -fno-rtti
all: ${TARGETS}
clean:
	rm -f ${TARGETS}
.c.s:
	${CC} -S $< -o $@ ${CFLAGS} ${TARGET_ARCH}