annotate test/plain/Makefile.generic @ 335:5fe52b7c6e02
- test/plain additions mainly for preparing future struct support, experimental at best currently
author |
Tassilo Philipp |
date |
Wed, 27 Nov 2019 21:27:58 +0100 |
parents |
3e629dc19168 |
children |
71c884e610f0 |
rev |
line source |
0
|
1 APP = plain
|
|
2 OBJS = test_main.o test_structs.o
|
|
3 SRCTOP = ${VPATH}/../..
|
|
4 BLDTOP = ../..
|
|
5 CFLAGS += -I${SRCTOP}/dyncall
|
|
6 LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s
|
|
7 .PHONY: all clean install
|
|
8 all: ${APP}
|
|
9 ${APP}: ${OBJS}
|
|
10 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
|
|
11 clean:
|
|
12 rm -f ${APP} ${OBJS}
|
|
13 install:
|
|
14 mkdir -p ${PREFIX}/test
|
|
15 cp ${APP} ${PREFIX}/test
|
|
16
|