RetroArch/Makefile
Themaister eed8e2bed2 SSNES
2010-05-26 21:27:37 +02:00

21 lines
276 B
Makefile

TARGET = ssnes
SOURCE = ssnes.c
CFLAGS = -O3 -march=native -Wall
OBJ = ssnes.o
SOBJ = libsnes.so
LIBS = -lrsound -lglfw
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)