view test/suite2_x86win32fast/Makefile.generic @ 174:a8052efbde18

- loosened OS detection macros a bit to not bail out and thus make it easier to use dyncall on baremetal
author cslag
date Wed, 08 Feb 2017 12:56:59 +0100
parents 3e629dc19168
children ef356272a1c7
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}