usynth

simple midi synth for sndio
git clone git://nsmpr.xyz/usynth.git
Log | Files | Refs

commit 98274b9e971e78f0481ba0180f19aafd9ef21f04
parent 8637855b1eafbf575fa346ace872b0c25a66adf0
Author: prenev <an2qzavok@gmail.com>
Date:   Sat, 10 Apr 2021 19:40:57 +0300

Makefile: more proper deps

Diffstat:
MMakefile | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -2,8 +2,10 @@ include config.mk # SRC = usynth.c fm.c machine.c midi.c operator.c wavetable.c SRC = usynth.c midi.c machine.c wavetable.c + OBJ = ${SRC:.c=.o} + BIN = progsynth MAN = $(BIN).1 # OBJ = $(BIN:=.o) fm.o midi.o\ @@ -19,6 +21,10 @@ ${OBJ}: usynth: ${OBJ} ${CC} -o $@ ${OBJ} ${LDFLAGS} +wavetable.o: wavetable.h + +machine.o: machine.h + install: all mkdir -p ${DESTDIR}${PREFIX}/bin/ cp -f usynth $(DESTDIR)${PREFIX}/bin/