view test/malloc_wx/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 = malloc_wx
OBJS = test_wx.o

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

all: ${APP}

.PHONY: all clean 

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

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