aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2017-04-08 20:59:09 +0200
committerReiner Herrmann <reiner@reiner-h.de>2017-04-08 20:59:09 +0200
commitba0b4e0db50c3f04e0b96dcc44ac8ed75679c945 (patch)
treed5a1bdaff9ade95bb7474e607468e6b02bf6cda4 /Makefile
parent1c4ca49fc2ff9dac5c29f9ae2caff4f3f7387eb4 (diff)
Add capturing skeleton for new tuner program
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9fe729c..19fe7e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,18 @@
CFLAGS = -Wall -Wextra -Werror -ggdb3 -O3
LDFLAGS = -lasound -lm -lrt
-OBJS = metronome.o
-BIN = metronome
+METRONOME_OBJS = metronome.o
+METRONOME_BIN = metronome
+TUNER_OBJS = tuner.o
+TUNER_BIN = tuner
-$(BIN): $(OBJS)
+OBJS = $(METRONOME_OBJS) $(TUNER_OBJS)
+BINS = $(METRONOME_BIN) $(TUNER_BIN)
-all: $(BIN)
+all: $(BINS)
+
+$(METRONOME_BIN): $(METRONOME_OBJS)
+$(TUNER_BIN): $(TUNER_OBJS)
clean:
- rm -f $(OBJS) $(BIN)
+ rm -f $(OBJS) $(BINS)