view test/suite2_x86win32fast/Makefile.generic @ 386:2c2b51819aad

- newer and portable beos/haiku uses elf.h instead of elf32.h (maybe older builds only used elf32.h in raw source? either way, just using elf.h now)
author Tassilo Philipp
date Thu, 21 Jan 2021 17:15:35 +0100
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}