view test/callf/Makefile.embedded @ 3:af6c88d34af0

freebsd: bugfix for cmake build
author Daniel Adler
date Mon, 06 Apr 2015 22:53:35 +0200
parents 3e629dc19168
children
line wrap: on
line source

APP = callf
OBJS = main.o

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

all: ${APP}

.PHONY: all clean

${APP}: ${OBJS} 
	${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} 

clean:
	rm -f ${APP} ${OBJS}