diff options
author | aliaspider | 2014-12-10 12:29:19 +0100 |
---|---|---|
committer | aliaspider | 2014-12-10 12:29:19 +0100 |
commit | 6d7fd87e07f157237319b51a8e0583ce0a4a5e6d (patch) | |
tree | e9382c5c647f64e1473117101f4bddf1e708148d /x86 | |
parent | 41484cd73c4114228c12f6456f61cc5caa72fecf (diff) | |
download | picogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.tar.gz picogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.tar.bz2 picogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.zip |
add a HAVE_MMAP check, cleanups.
Diffstat (limited to 'x86')
-rw-r--r-- | x86/Makefile | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/x86/Makefile b/x86/Makefile deleted file mode 100644 index 53d2dd8..0000000 --- a/x86/Makefile +++ /dev/null @@ -1,60 +0,0 @@ -# gpSP makefile -# Gilead Kutnick - Exophase - -# Global definitions - -CC = gcc -STRIP = strip -AS = as - -PREFIX = /usr -OBJS = ../main.o ../cpu.o ../memory.o ../video.o ../input.o ../sound.o \ - ../cpu_threaded.o ../gui.o x86_stub.o ../cheats.o ../zip.o - -# Platform specific definitions - -ifeq ($(shell uname -a),) -EXE_EXT = .exe -else ifneq ($(findstring MINGW,$(shell uname -a)),) -EXE_EXT = .exe -else -EXE_EXT = -endif - -BIN ?= gpsp$(EXE_EXT) - -CFLAGS += -DPC_BUILD -Wall -m32 -INCLUDES = -I$(PREFIX)/include `sdl-config --cflags` -LIBS = -L$(PREFIX)/lib32 `sdl-config --libs` -lz -m32 - -# Compilation: - -ifeq ($(DEBUG), 1) -OPTIMIZE := -O0 -g -OPTIMIZE_SAFE := -O0 -g -else -OPTIMIZE := -O3 -OPTIMIZE_SAFE := -O2 -endif - -all: $(BIN) - -%.o: %.c - $(CC) $(CFLAGS) $(OPTIMIZE) $(INCLUDES) -c -o $@ $< - -%.o: %.S - $(CC) $(CFLAGS) $(OPTIMIZE) -c -o $@ $< - -../cpu.o: ../cpu.c - $(CC) -c -o $@ $< $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCLUDES) - -../cpu_threaded.o: ../cpu_threaded.c - $(CC) -c -o $@ $< $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCLUDES) - - -$(BIN): $(OBJS) - $(CC) $(OBJS) $(LIBS) -o $(BIN) - -clean: - rm -f $(OBJS) $(BIN) - |