view test/suite2_x86win32std/Makefile.generic @ 613:3c3e321875f7

- adding helper target to cmake
author Tassilo Philipp
date Sat, 01 Oct 2022 16:03:25 +0200
parents 3e629dc19168
children ef356272a1c7
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}