view test/suite2_x86win32fast/Makefile.generic @ 606:85b7a117b807

- more statics in test code (this is partly needed on an experimental freebsd sparc64 build where the elf cleanup code crashes for some reason ... it's probably that experimental build, but a good change to do regardless)
author Tassilo Philipp
date Wed, 21 Sep 2022 15:20:58 +0200
parents 3e629dc19168
children
line wrap: on
line source

APP = suite2_x86win32fast
OBJS = case.o main.o

TOP     = ../..
CFLAGS  = -I${TOP}/dyncall
LDFLAGS = -L${TOP}/dyncall
LDLIBS  = -ldyncall_s
LINK    = ${CXX}

all: ${APP}

.PHONY: all clean install

RM      ?= rm -f
AR      ?= ar
MKDIR   ?= mkdir
INSTALL ?= install -p

${APP}: ${OBJS} 
	${LINK} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} ${TARGET_ARCH}

clean:
	${RM} ${APP} ${OBJS}