/filesystems/procfs/sequencegrab/Makefile
http://macfuse.googlecode.com/ · Makefile · 31 lines · 19 code · 9 blank · 3 comment · 0 complexity · 5b82fe4f7ae67b3d3ba612c66e2ff8d1 MD5 · raw file
- # Sequence Grabbing Library
- #
- # Dave MacLachlan
- CC = gcc
- CFLAGS = -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk
- CPPFLAGS = -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk
- LDFLAGS = -framework Cocoa -framework CoreAudioKit -framework Foundation -framework QuartzCore -framework QuickTime -framework QuartzCore
- OBJECTS = CSGCamera.o CSGImage.o procfs_sequencegrab.o
- all: libprocfs_sequencegrab.dylib libprocfs_sequencegrab.a
- %o.%m:
- gcc -c $(CFLAGS) -o $@ $<
- CSGCamera.o: CSGCamera.m
- CSGImage.o: CSGImage.m
- procfs_sequencegrab.o: procfs_sequencegrab.mm
- g++ -c $(CPPFLAGS) -o $@ $<
- libprocfs_sequencegrab.dylib: $(OBJECTS)
- g++ -dynamiclib -install_name /tmp/libprocfs_sequencegrab.dylib $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
- libprocfs_sequencegrab.a: $(OBJECTS)
- libtool -static -o libprocfs_sequencegrab.a $(OBJECTS)
- ranlib libprocfs_sequencegrab.a
- clean:
- rm -f *.o libprocfs_sequencegrab.dylib libprocfs_sequencegrab.a