Files
pcsx2/plugins/dev9null/src/Makefile
T
Jake.Stine 6ebfae8ef1 Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official.
Added interface.cpp (plugin/pcsx2 interface) and savestate.cpp to SPU2ghz, to help clean up SPU2.cpp.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@463 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 21:15:56 +00:00

24 lines
434 B
Makefile

CC = gcc
PLUGIN = libDEV9null.so
CFLAGS+= -fPIC -Wall -O2 -fomit-frame-pointer -D__LINUX__
OBJS = dev9null.o
DEPS:= $(OBJS:.o=.d)
all: plugin
install: all
plugin: ${OBJS}
rm -f ${PLUGIN}
gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJS} -o ${PLUGIN} ${LIBS}
strip --strip-unneeded --strip-debug ${PLUGIN}
clean:
rm -f ${OBJS} ${DEPS}
%.o: %.c
${CC} ${CFLAGS} -c -o $@ $< -MD -MF $(patsubst %.o,%.d,$@)
-include ${DEPS}