diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-09 02:08:17 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-09 02:08:17 +0100 |
commit | 21f8e1c794cbd90c6ac8cf62e832fdb8a196bcb8 (patch) | |
tree | 9da02c8a0824d48168957e5af8c94071e4b7fc85 /makefile | |
parent | razno (diff) | |
download | soč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 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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/ |