ithink.chan 7ce3071adb 修正 SndVolume 的 Makefile.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-08 18:09:29 +08:00

16 lines
217 B
Makefile

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