annotate test/plain/Makefile.generic @ 0:3e629dc19168
initial from svn dyncall-1745
author |
Daniel Adler |
date |
Thu, 19 Mar 2015 22:24:28 +0100 |
parents |
|
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
|