VirtualComputer/libpxc/makefile
NorbiPeti 026edffed4
Java-C connection works
Pointers can be passed freely
2018-11-14 23:00:58 +01:00

11 lines
221 B
Makefile

CC=gcc
# CFLAGS=-I.
pxct: pxct.c pxc
$(CC) -Wall pxct.c -Lout -lpxc -Wl,-rpath=out -o out/pxct
pxc: pxc.c
$(CC) -Wall -c -fpic pxc.c -o obj/pxc.o
$(CC) -Wall -shared obj/pxc.o -o out/libpxc.so
cp out/libpxc.so ../