Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OBJS = genplus-ntsc-md.o md_ntsc.o
NTSC_VARIANT = NTSC_COMPOSITE
CFLAGS = -fPIC -O2 -D$(NTSC_VARIANT)
all: genplus-ntsc.so genplus-ntsc.a
genplus-ntsc.so: $(OBJS)
$(CC) -shared -o $@ $(OBJS)
genplus-ntsc.a: $(OBJS)
$(AR) rcs $@ $(OBJS)
clean:
rm -f $(OBJS) genplus-ntsc.so genplus-ntsc.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment