RetroArch/tools/ranetplayer/Makefile
2017-02-16 19:59:40 -05:00

21 lines
455 B
Makefile

CC=gcc
CFLAGS=-O3 -g
INCLUDES=-I../../libretro-common/include
OBJS=ranetplayer.o compat_getopt.o net_compat.o net_socket.o
ranetplayer: $(OBJS)
$(CC) $(CFLAGS) $(INCLUDES) $(OBJS) -o $@
%.o: %.c
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
compat_%.o: ../..//libretro-common/compat/compat_%.c
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
net_%.o: ../../libretro-common/net/net_%.c
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
clean:
rm -f $(OBJS) ranetplayer