summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-04-09 13:27:14 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-04-09 13:27:14 +0200
commit097f7712a179dcc5a75b727bd8d84ba41b10a36f (patch)
treea799b4b18ce5dea90f0b15f63526969f2dc1a6cc /makefile
parentremove.stdio (diff)
downloadsoča-master.tar
soča-master.tar.gz
soča-master.tar.bz2
soča-master.tar.lz
soča-master.tar.xz
soča-master.tar.zst
soča-master.zip
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