RetroArch/Makefile

21 lines
274 B
Makefile
Raw Normal View History

2010-05-26 19:27:37 +00:00
TARGET = ssnes
SOURCE = ssnes.c
2010-05-26 21:21:18 +00:00
CFLAGS = -Wall -g
2010-05-26 19:27:37 +00:00
OBJ = ssnes.o
SOBJ = libsnes.so
2010-05-26 20:42:58 +00:00
LIBS = -lrsound -lglfw -lsamplerate
2010-05-26 19:27:37 +00:00
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)