mirror of
https://github.com/libretro/RetroArch
synced 2024-12-29 12:31:05 +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
|