11 lines
199 B
Makefile
11 lines
199 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
|
||
|
|