RetroArch/Makefile
Themaister 33b2b8f96e Hmmmm
2010-05-26 23:21:18 +02:00

21 lines
274 B
Makefile

TARGET = ssnes
SOURCE = ssnes.c
CFLAGS = -Wall -g
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)