mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 13:51:02 +00:00
21 lines
455 B
Makefile
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
|