rustyrussell / ccan

The C Code Archive Network
http://ccodearchive.net/
1.11k stars 206 forks source link

Makefile: add libccan.a target #103

Open SimonVrouwe opened 1 year ago

SimonVrouwe commented 1 year ago

The example Makefile-ccan is broken.

Not sure if this is unusual to add this target, but I find this convenient to play around:

cd ccan
make libccan.a
cd ..
gcc -g play.c -I./ccan -L./ccan -lccan
./a.out