Mercurial > pub > dyncall > dyncall
view test/suite/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 = 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