X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=c%2Fghetto-sound-system%2FMakefile;fp=c%2Fsampler%2FMakefile;h=32a8e1527ba8150231a62e2612f4f65b2028c22c;hb=51baeaf524489d11b6455a97b2d26b8309b79607;hp=7df4124c24cad71baddaab5c42b524bb56cf1d5e;hpb=2e9749f0922e4c0337845b1d2de733d1ceab3195;p=mirrors%2FPrograms.git diff --git a/c/sampler/Makefile b/c/ghetto-sound-system/Makefile similarity index 54% rename from c/sampler/Makefile rename to c/ghetto-sound-system/Makefile index 7df4124..32a8e15 100644 --- a/c/sampler/Makefile +++ b/c/ghetto-sound-system/Makefile @@ -1,7 +1,8 @@ -PROJ=sdl #CFLAGS=-lSDL_sound -lSDL -lSDL_mixer CFLAGS+=`sdl-config --cflags --libs` -lSDL_mixer CFLAGS+=-lm -$(PROJ): $(PROJ).c -go: $(PROJ) - ./$? drums/* voice/* loops/* 2>/dev/null + +.PHONY: all go +all: sampler synth +go: sampler + ./$? samples/*/* 2>/dev/null