view test/syscall/Makefile.generic @ 179:b11b0735b09f

- renamings: sparc_v9 -> sparc64
author cslag
date Fri, 10 Feb 2017 01:07:12 +0100
parents 3e629dc19168
children ef356272a1c7
line wrap: on
line source

APP       = syscall
OBJS      = syscall.o
SRCTOP    = ${VPATH}/../..
BLDTOP    = ../..
CFLAGS   += -I${SRCTOP}/dyncall
LDLIBS   += -L${BLDTOP}/dyncall -ldyncall_s
.PHONY: all clean install
all: ${APP}
${APP}: ${OBJS} 
	${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} 
clean:
	rm -f ${APP} ${OBJS}
install:
	mkdir -p ${PREFIX}/test
	cp ${APP} ${PREFIX}/test