summaryrefslogtreecommitdiff
path: root/PcsxSrc/Linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'PcsxSrc/Linux/Makefile')
-rw-r--r--PcsxSrc/Linux/Makefile72
1 files changed, 0 insertions, 72 deletions
diff --git a/PcsxSrc/Linux/Makefile b/PcsxSrc/Linux/Makefile
deleted file mode 100644
index 6a6ca1d..0000000
--- a/PcsxSrc/Linux/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# PCSX Makefile for Linux
-#
-
-MAJ = 1
-MIN = 3
-VERSION = ${MAJ}.${MIN}
-
-all: pcsx
-
-CPU = ix86
-
-CC = gcc
-NASM = nasm
-RM = rm -f
-STRIP = strip
-
-OPTIMIZE = -O2 -fomit-frame-pointer -finline-functions -ffast-math
-FLAGS = -D__LINUX__ -DPCSX_VERSION=\"${VERSION}\"
-# this includes the option -rdynamic and we don't want that
-LIBST = $(shell gtk-config --libs)
-#LIBS = $(subst -rdynamic, , ${LIBST}) -lz
-LIBS = ${LIBST} -lz
-
-OBJS = ../PsxBios.o ../CdRom.o ../PsxCounters.o ../PsxDma.o ../DisR3000A.o \
- ../Spu.o ../Sio.o ../PsxHw.o ../Mdec.o ../PsxMem.o ../Misc.o \
- ../plugins.o ../Decode_XA.o ../R3000A.o ../PsxInterpreter.o \
- ../Gte.o ../PsxHLE.o
-OBJS+= LnxMain.o Plugin.o Config.o GtkGui.o
-OBJS+= GladeGui.o GladeFuncs.o #GladeCalls.o
-
-ifeq (${CPU}, ix86)
- CC = gcc
- OPTIMIZE = -O4 -fomit-frame-pointer -finline-functions -ffast-math -fno-exceptions -march=pentiumpro
- OBJS+= ../ix86/iR3000A.o ../ix86/ix86.o
- FLAGS+= -D__i386__
-endif
-
-CFLAGS = -Wall ${OPTIMIZE} -I. -I.. -I/usr/include/g++ ${FLAGS}
-CFLAGS+= $(shell gtk-config --cflags)
-ASMFLAGS = -f elf ${FLAGS} -i./ -i../
-
-GladeGui.c: pcsx.glade
- glade -w pcsx.glade
-
-GladeFuncs.c: pcsx.glade
- glade -w pcsx.glade
-
-pcsx: ${OBJS}
- ${CC} ${CFLAGS} ${OBJS} -o pcsx ${LIBS}
-# ${STRIP} pcsx
-
-.PHONY: clean pcsx
-
-clean:
- ${RM} *.o ../*.o ../${CPU}/*.o pcsx
-
-fullclean: clean
- ${RM} GladeGui.* GladeFuncs.*
-
-../%.o: ../%.c
- ${CC} ${CFLAGS} -c -o $@ $<
-
-../${CPU}/%.o: ../${CPU}/%.asm
- ${NASM} ${ASMFLAGS} -o $@ $<
-
-%.o: %.c
- ${CC} ${CFLAGS} -c -o $@ $<
-
-../Cpu/ix86/%.o: ../Cpu/ix86/%.c
- ${CC} ${CFLAGS} -c -o $@ $<
-