MACHINE_CFLAGS = #-mcpu=7450 -mtune=7450 CFLAGS = -Os $(MACHINE_CFLAGS) -g -Wall -Werror LDFLAGS = -Os -mcpu=7450 -mtune=7450 LD = gcc -dynamiclib LIBNAME = libSO31.dylib OBJS = SO31.o $(LIBNAME) : $(OBJS) $(LD) $(LDFLAGS) -o $(LIBNAME) $(OBJS) clean: rm -rf $(OBJS) rm -rf $(LIBNAME) # Header dependencies SO31.o: SO31.h