view test/suite2_x86win32std/Makefile.generic @ 542:a73a5cd50c19

- fix passing aggregate-by-val on x64/sysv: subaggr classification for aggr *arrays* was wrong (was problematic when there ware exactly 2 8bytes to be classified, potentially be passed via registers)
author Tassilo Philipp
date Mon, 02 May 2022 15:32:41 +0200
parents 3e629dc19168
children
line wrap: on
line source

APP = suite2_x86win32std
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}