2018-11-14 18:15:58 +00:00
|
|
|
CC=gcc
|
|
|
|
# CFLAGS=-I.
|
|
|
|
|
|
|
|
pxct: pxct.c pxc
|
|
|
|
$(CC) -Wall pxct.c -Lout -lpxc -Wl,-rpath=out -o out/pxct
|
|
|
|
|
|
|
|
pxc: pxc.c
|
2019-04-10 20:18:01 +00:00
|
|
|
$(CC) -Wall -O4 -c -fpic pxc.c -o obj/pxc.o
|
2018-11-14 18:15:58 +00:00
|
|
|
$(CC) -Wall -shared obj/pxc.o -o out/libpxc.so
|
2018-11-14 22:00:25 +00:00
|
|
|
cp out/libpxc.so ../
|
2018-11-14 18:15:58 +00:00
|
|
|
|