diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-26 21:45:44 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-26 21:45:44 +0200 |
commit | 453dab565ae62b01534d7c41b6a47342d1a049d0 (patch) | |
tree | 6c50c8a32e2aae9f28ee11b5aada9d17c499fffb /makefile | |
parent | rm binary (diff) | |
download | soča-453dab565ae62b01534d7c41b6a47342d1a049d0.tar soča-453dab565ae62b01534d7c41b6a47342d1a049d0.tar.gz soča-453dab565ae62b01534d7c41b6a47342d1a049d0.tar.bz2 soča-453dab565ae62b01534d7c41b6a47342d1a049d0.tar.lz soča-453dab565ae62b01534d7c41b6a47342d1a049d0.tar.xz soča-453dab565ae62b01534d7c41b6a47342d1a049d0.tar.zst soča-453dab565ae62b01534d7c41b6a47342d1a049d0.zip |
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -3,7 +3,7 @@ CC=cc MYCFLAGS=-O0 -Wall -Wextra -Wformat -pedantic -g -I. # -fsanitize=address MYLDFLAGS= -default: ptt naprave +default: ptt naprave fourier ptt: ptt.c $(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS) @@ -11,6 +11,12 @@ ptt: ptt.c naprave: naprave.c $(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS) -lsoundio +fourier: fourier.c frekvence.h + $(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS) -lm + +frekvence.h: frekvence.php + ./frekvence.php > frekvence.h + install: mkdir -p $(DESTDIR)/usr/bin/ cp ptt $(DESTDIR)/usr/bin/ @@ -18,7 +24,7 @@ install: distclean: clean clean: - rm -rf tmp + rm -rf tmp fourier frekvence.h valgrind: valgrind --error-exitcode=59 --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt $(CMD) |