view test/suite/Makefile.embedded @ 0:3e629dc19168

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:24:28 +0100
parents
children
line wrap: on
line source

APP      = suite
OBJS     = case.o main.o
SRCTOP   = ../..
BLDTOP   = ../..
CFLAGS  += -I${SRCTOP}/dyncall
LDFLAGS += -L${BLDTOP}/dyncall
LDLIBS  += -ldyncall_s 

.PHONY: all clean autogen
all: ${APP}
${APP}: ${OBJS} 
	${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP}
clean:
	rm -f ${APP} ${OBJS}
autogen:
	python mkcase.py >case.h 2>config.h