From 06f50ed77949cee495a1d8d98fec16648a5c8ea9 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 15 May 2023 12:31:46 +0100 Subject: Added OPL3 support --- Nuked-OPL3/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Nuked-OPL3/Makefile (limited to 'Nuked-OPL3/Makefile') diff --git a/Nuked-OPL3/Makefile b/Nuked-OPL3/Makefile new file mode 100644 index 0000000..f896792 --- /dev/null +++ b/Nuked-OPL3/Makefile @@ -0,0 +1,21 @@ +CC := gcc +AR := ar +CFLAGS := -Wpedantic -s -O2 -Wall -I. -fPIC +LDFLAGS := -shared + +all: libopl3.so + +libopl3.so: libopl3.a + $(CC) $(LDFLAGS) -o libopl3.so opl3.o + +libopl3.a: opl3.o + ar crs libopl3.a opl3.o + +opl3.o: opl3.c opl3.h + $(CC) $(CFLAGS) -c $< -o $@ + +clean: + rm -f opl3.o libopl3.a libopl3.so + +.PHONY: clean all + -- cgit v1.2.3