DemoPublic/Linux/Application/ALSA/SndPam/Makefile

16 lines
207 B
Makefile

.PHONY:all
.PHONY:clean
target = SndPam
objects = SndPam.o
all:$(objects)
gcc $(objects) -o $(target) -lasound -lpthread
clean:
rm -rf $(target)
rm -rf $(objects)
$(objects):%.o: %.c
gcc -c $< -o $@