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-097f7712a179dcc5a75b727bd8d84ba41b10a36f.tar
soča-097f7712a179dcc5a75b727bd8d84ba41b10a36f.tar.gz
soča-097f7712a179dcc5a75b727bd8d84ba41b10a36f.tar.bz2
soča-097f7712a179dcc5a75b727bd8d84ba41b10a36f.tar.lz
soča-097f7712a179dcc5a75b727bd8d84ba41b10a36f.tar.xz
soča-097f7712a179dcc5a75b727bd8d84ba41b10a36f.tar.zst
soča-097f7712a179dcc5a75b727bd8d84ba41b10a36f.zip
Diffstat (limited to 'makefile')
-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