Inge
Inge

Reputation: 21

how to compile test examples alsa

I would like to compile the pcm.c file placed in the 'test' directory from alsa-lib. What I already did was: make pcm resulting in getting besides the pcm.c a pcm.o file.

But I would like to have a executable file. What is the next thing to do??

Upvotes: 0

Views: 1256

Answers (2)

Keo Malope
Keo Malope

Reputation: 1015

make check

NB: I tested this on alsa-lib-1.0.27.2

Upvotes: 2

CL.
CL.

Reputation: 180020

When you run the make command, both the object and the executable files are created:

$ make pcm
  CC     pcm.o
  CCLD   pcm

If the pcm target were not created, make would output an error message.

Upvotes: 1

Related Questions