Mercurial > pub > dyncall > dyncall
view test/thunk/Makefile.embedded @ 665:ef356272a1c7 default tip
- introduced Makefile var APP_SUFFIX to handle cases where compilers implicitly add an extension to executables (e.g. llvm/mingw64 adds .exe even of not specified via -o)
author | Tassilo Philipp |
---|---|
date | Thu, 20 Jun 2024 17:10:12 +0200 (12 months ago) |
parents | 3e629dc19168 |
children |
line wrap: on
line source
APP = thunk OBJS = test_thunk.o SRCTOP = ../.. BLDTOP = ../.. CFLAGS += -I${SRCTOP}/dyncallback -I${SRCTOP}/dyncall LDFLAGS += -L${BLDTOP}/dyncallback LDLIBS += -ldyncallback_s LINK = ${CC} all: ${APP} .PHONY: all clean ${APP}: ${OBJS} ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} clean: rm -f ${APP} ${OBJS}