Unified · Split
| @@ -1,5 +1,29 @@ | ||
| 1 | +.PHONY: tangle | |
| 2 | + | |
| 1 | 3 | PORT?=8080 |
| 2 | 4 | WIKI_PATH=sndkit |
| 5 | +WORGLE=worgle | |
| 6 | + | |
| 7 | +TANGLED=\ | |
| 8 | +bigverb.c bigverb.h \ | |
| 9 | +bitnoise.c bitnoise.h \ | |
| 10 | +chaosnoise.c chaosnoise.h \ | |
| 11 | +dcblocker.c dcblocker.h \ | |
| 12 | +fmpair.c fmpair.h \ | |
| 13 | +modalres.c modalres.h \ | |
| 14 | +osc.c osc.h \ | |
| 15 | +peakeq.c peakeq.h \ | |
| 16 | +phasewarp.c phasewarp.h \ | |
| 17 | +rline.c rline.h \ | |
| 18 | +valp1.c valp1.h \ | |
| 19 | +vardelay.c vardelay.h \ | |
| 20 | + | |
| 21 | +.SUFFIX: .org .c | |
| 22 | + | |
| 23 | +.SUFFIXES: .org .c | |
| 24 | +.org.c: .org .c | |
| 25 | + @echo "WORGLE $<" | |
| 26 | + @cd $(dir $<); $(WORGLE) $(WORGLE_FLAGS) $(notdir $<) | |
| 3 | 27 | |
| 4 | 28 | default: update |
| 5 | 29 | |
| @@ -46,3 +70,8 @@ keys.txt: · 40 unmodified lines | ||
| 46 | 70 | |
| 47 | 71 | keys.db: keys.txt |
| 48 | 72 | ./keys2db < keys.txt | sqlite3 $@ |
| 73 | + | |
| 74 | +tangle: $(TANGLED) | |
| 75 | + | |
| 76 | +clean: | |
| 77 | + $(RM) $(TANGLED) | |