#
# Makefile for FPSE/Linux plugins
#

PLUGIN = libspunull.a
CFLAGS+=-DLINUX -Wall -O3 -fomit-frame-pointer
OBJECTS = spunull.o

all: $(OBJECTS)
	rm -f ${PLUGIN}
	gcc ${CFLAGS} ${OBJECTS} -o ${PLUGIN} -shared
	cp $(PLUGIN) ../$(PLUGIN)

clean: 
	rm -f *.o *.a

# Dependencies

