cdriso: merge from pcsxr r90558
[pcsx_rearmed.git] / plugins / spunull / Makefile
CommitLineData
4132e8ca 1include ../../config.mak
de38f20e 2
ddd99692 3TARGET = spunull.so
dd4d5a35 4WD = $(shell pwd)
5PLUGINDIR = $(shell basename $(WD))
6
7all: ../../config.mak $(TARGET)
8
9$(TARGET): spunull.c
ee78346e 10 $(CC) $(CFLAGS) -shared -fPIC -ggdb -O2 -o $@ $^
dd4d5a35 11 ln -fs $(PLUGINDIR)/$(TARGET) ../
ee78346e 12
13clean:
dd4d5a35 14 $(RM) $(TARGET)
4132e8ca 15
16../../config.mak:
17 @echo "Please run ./configure before running make!"
18 @exit 1