From 4b3082a34d7200d4b8ac980949bae355fc982c6b Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 9 Apr 2017 01:20:56 +0200 Subject: Minor cleanup and pretty printing --- Makefile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1940004..f909779 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,14 @@ CFLAGS = -Wall -Wextra -Werror -ggdb3 -O3 -LDFLAGS = -lasound -lfftw3 -lm -lrt +LDFLAGS = -lasound -lm -lrt -METRONOME_OBJS = metronome.o -METRONOME_BIN = metronome -TUNER_OBJS = tuner.o -TUNER_BIN = tuner - -OBJS = $(METRONOME_OBJS) $(TUNER_OBJS) -BINS = $(METRONOME_BIN) $(TUNER_BIN) +BINS = metronome tuner all: $(BINS) -$(METRONOME_BIN): $(METRONOME_OBJS) -$(TUNER_BIN): $(TUNER_OBJS) +metronome: metronome.o common.o + +tuner: LDFLAGS += -lfftw3 +tuner: tuner.o common.o clean: - rm -f $(OBJS) $(BINS) + rm -f *.o $(BINS) -- cgit v1.2.3