Skip to content

Instantly share code, notes, and snippets.

@simias
Created April 28, 2015 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simias/fcd543037dab4ebd7256 to your computer and use it in GitHub Desktop.
Save simias/fcd543037dab4ebd7256 to your computer and use it in GitHub Desktop.
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