diff test/callback_suite/Makefile.embedded @ 0:3e629dc19168

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:24:28 +0100
parents
children 7608e34098b0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/callback_suite/Makefile.embedded	Thu Mar 19 22:24:28 2015 +0100
@@ -0,0 +1,19 @@
+APP = callback_suite
+OBJS = env.o handler.o sigstrings.o invokers.o do_test.o main.o print.o signature_utils.o
+
+SRCTOP   = ../..
+BLDTOP   = ${SRCTOP}
+CFLAGS  += -I${SRCTOP}/dyncall -I${SRCTOP}/dyncallback
+LDFLAGS += -L${BLDTOP}/dyncall -L${BLDTOP}/dyncallback
+LDLIBS  += -ldyncall_s -ldyncallback_s
+
+all: ${APP}
+
+.PHONY: all clean install
+
+${APP}: ${OBJS} 
+	${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} 
+
+clean:
+	rm -f ${APP} ${OBJS}
+