This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de (internal network only) to import your old projects to the new GitLab platform 📥

Makefile 649 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# define the compiler
CC      = g++

# path(s) to include files
CFLAGS  = -I.

# libraries to link
LDFLAGS = -ljack -llo -lsndfile -lyaml-cpp

SRCS = main.cpp waveshaper.cpp oscman.cpp yamlman.cpp transferfunction.cpp sinefolder.cpp tangentshaper.cpp
DEPS = oscman.h waveshaper.h yamlman.h transferfunction.h sinefolder.h tangentshaper.h

all: waveshaper

%.o: %.c $(DEPS)
	$(CC) -c -o $@ $< $(CFLAGS) 

waveshaper: main.o waveshaper.o oscman.o yamlman.o transferfunction.o sinefolder.o tangentshaper.o
	$(CC) -o waveshaper main.o waveshaper.o oscman.o yamlman.o transferfunction.o sinefolder.o tangentshaper.o $(LDFLAGS)

clean:
	rm *.o waveshaper