aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2012-11-05 01:23:29 +0200
committernotaz2012-11-05 03:12:25 +0200
commite0aec5eebf0fefe7a7314940546ef8a23d2169b7 (patch)
treed6bd9d3b7756e11b3a4d889081a0440e38b06db8 /Makefile
parent22fa3f2b3d09f3694f938ca895d447a30ec96f25 (diff)
downloadpcsx_rearmed-e0aec5eebf0fefe7a7314940546ef8a23d2169b7.tar.gz
pcsx_rearmed-e0aec5eebf0fefe7a7314940546ef8a23d2169b7.tar.bz2
pcsx_rearmed-e0aec5eebf0fefe7a7314940546ef8a23d2169b7.zip
drop some unused code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index e904128..d0e4bef 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,9 @@ endif
CC_LINK = $(CC)
LDFLAGS += $(MAIN_LDFLAGS)
LDLIBS += $(MAIN_LDLIBS)
+ifdef PCNT
+CFLAGS += -DPCNT
+endif
# core
OBJS += libpcsxcore/cdriso.o libpcsxcore/cdrom.o libpcsxcore/cheat.o libpcsxcore/debug.o \
@@ -186,18 +189,10 @@ else
CFLAGS += -DNO_FRONTEND
endif
-ifdef X11
-frontend/%.o: CFLAGS += -DX11
-OBJS += frontend/xkb.o
-endif
-ifdef PCNT
-CFLAGS += -DPCNT
-endif
-
# misc
OBJS += frontend/main.o frontend/plugin.o
-frontend/%.o: CFLAGS += -DIN_EVDEV
+
frontend/menu.o frontend/main.o frontend/plat_sdl.o: frontend/revision.h
frontend/libpicofe/%.c:
@@ -205,7 +200,6 @@ frontend/libpicofe/%.c:
@echo "git submodule init && git submodule update"
@exit 1
-
libpcsxcore/gte_nf.o: libpcsxcore/gte.c
$(CC) -c -o $@ $^ $(CFLAGS) -DFLAGLESS
@@ -217,6 +211,7 @@ frontend/revision.h: FORCE
%.o: %.S
$(CC) $(CFLAGS) -c $^ -o $@
+
target_: $(TARGET)
$(TARGET): $(OBJS)