From f960e9ad26bd767dbf192d27fc41bf842b1f2de8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 21 Mar 2016 18:37:19 +0100 Subject: [PATCH] Move files --- libretro-common/net/{ => test}/Makefile | 14 ++++++-------- libretro-common/net/{ => test}/net_http_test.c | 0 libretro-common/net/{ => test}/net_ifinfo_test.c | 0 3 files changed, 6 insertions(+), 8 deletions(-) rename libretro-common/net/{ => test}/Makefile (70%) rename libretro-common/net/{ => test}/net_http_test.c (100%) rename libretro-common/net/{ => test}/net_ifinfo_test.c (100%) diff --git a/libretro-common/net/Makefile b/libretro-common/net/test/Makefile similarity index 70% rename from libretro-common/net/Makefile rename to libretro-common/net/test/Makefile index 5dfdf3b185..6578f5116d 100644 --- a/libretro-common/net/Makefile +++ b/libretro-common/net/test/Makefile @@ -1,10 +1,8 @@ TARGETS = http_test net_ifinfo -INCFLAGS = -I../include -I../include/net +LIBRETRO_COMM_DIR := ../.. -SOURCES := $(wildcard *.c) \ - ../compat/compat.c -OBJS := $(SOURCES:.c=.o) +INCFLAGS = -I$(LIBRETRO_COMM_DIR)/include ifeq ($(DEBUG),1) CFLAGS += -O0 -g @@ -14,15 +12,15 @@ endif CFLAGS += -Wall -pedantic -std=gnu99 HTTP_TEST_C = \ - net_http.c \ + $(LIBRETRO_COMM_DIR)/net/net_http.c \ net_http_test.c \ - net_compat.c \ - ../compat/compat_strl.c + $(LIBRETRO_COMM_DIR)/net/net_compat.c \ + $(LIBRETRO_COMM_DIR)/compat/compat_strl.c HTTP_TEST_OBJS := $(HTTP_TEST_C:.c=.o) NET_IFINFO_C = \ - net_ifinfo.c \ + $(LIBRETRO_COMM_DIR)/net/net_ifinfo.c \ net_ifinfo_test.c NET_IFINFO_OBJS := $(NET_IFINFO_C:.c=.o) diff --git a/libretro-common/net/net_http_test.c b/libretro-common/net/test/net_http_test.c similarity index 100% rename from libretro-common/net/net_http_test.c rename to libretro-common/net/test/net_http_test.c diff --git a/libretro-common/net/net_ifinfo_test.c b/libretro-common/net/test/net_ifinfo_test.c similarity index 100% rename from libretro-common/net/net_ifinfo_test.c rename to libretro-common/net/test/net_ifinfo_test.c