mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
21 lines
289 B
Makefile
21 lines
289 B
Makefile
TARGET = ssnes
|
|
|
|
SOURCE = ssnes.c
|
|
CFLAGS = -Wall -O3 -march=native
|
|
|
|
OBJ = ssnes.o
|
|
SOBJ = libsnes.so
|
|
|
|
LIBS = -lrsound -lglfw -lsamplerate
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(SOURCE) $(SOBJ) $(LIBS)
|
|
|
|
ssnes.o:
|
|
$(CC) -c -o ssnes.o ssnes.c $(CFLAGS)
|
|
|
|
|
|
clean:
|
|
rm -rf $(OBJ)
|
|
rm -rf $(TARGET)
|