1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

* A function to build libraries.

* The linker can link against libraries.
* C flags can be passed to the C compiler.
This commit is contained in:
Eelco Dolstra 2004-07-06 17:25:10 +00:00
parent 5d48dd6912
commit 17e20716c0
5 changed files with 43 additions and 11 deletions

View file

@ -70,4 +70,4 @@ fi
mkdir $out
test "$prefix" && cd $prefix
gcc -Wall -c $mainName -o $out/$mainName.o
gcc -Wall $cFlags -c $mainName -o $out/$mainName.o