genmidi: Move GENMIDI C code to subdirectory.

Move C code into subdirectory as it will soon be only of historical
interest. Add extra program to dump SBI instrument patches, switch
to using OPL2 instruments, and ignore "null" instruments (all-zero).
This commit is contained in:
Simon Howard 2011-12-27 03:01:47 +00:00
parent 5ce7690612
commit b754214379
8 changed files with 138 additions and 20 deletions

View file

@ -1,16 +0,0 @@
CFLAGS = -Wall
OBJS = genmidi-gen.o oplinstrs.o instrnames.o
genmidi.lmp : genmidi-gen
./genmidi-gen $@
genmidi-gen : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $@
%.o : %.c
$(CC) $(CFLAGS) -c $^ -o $@
clean:
rm -f $(OBJS) genmidi-gen genmidi.lmp