summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 32eed24..eac2b44 100644
--- a/makefile
+++ b/makefile
@@ -3,7 +3,7 @@ CC=cc
MYCFLAGS=-O0 -Wall -Wextra -Wformat -pedantic -g -I. # -fsanitize=address
MYLDFLAGS=
-default: ptt naprave fourier
+default: ptt naprave fourier zvok
ptt: ptt.c
$(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS)
@@ -14,6 +14,9 @@ naprave: naprave.c
fourier: fourier.c frekvence.h
$(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS) -lm
+zvok: zvok.c
+ $(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS) -lsoundio
+
frekvence.h: frekvence.php
./frekvence.php > frekvence.h