summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-09 02:08:17 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-09 02:08:17 +0100
commit21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8 (patch)
tree9da02c8a0824d48168957e5af8c94071e4b7fc85 /makefile
parentrazno (diff)
downloadsoča-21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8.tar
soča-21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8.tar.gz
soča-21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8.tar.bz2
soča-21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8.tar.lz
soča-21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8.tar.xz
soča-21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8.tar.zst
soča-21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8.zip
Diffstat (limited to '')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index c8fbebd..3a2b79f 100644
--- a/makefile
+++ b/makefile
@@ -3,11 +3,14 @@ CC=cc
MYCFLAGS=-O0 -Wall -Wextra -Wformat -pedantic -g -I. # -fsanitize=address
MYLDFLAGS=
-default: ptt
+default: ptt naprave
ptt: ptt.c
$(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS)
+naprave: naprave.c
+ $(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS) -lsoundio
+
install:
mkdir -p $(DESTDIR)/usr/bin/
cp ptt $(DESTDIR)/usr/bin/