From 65dd941a1ed670f0e7908a6e3bc28593caef2908 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Fri, 10 Feb 2012 14:26:03 +0100 Subject: added wave_out for linux --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0c2c47a --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +STRIP = strip +CC = gcc +CFLAGS = -D__USE_INLINE__ -O3 -ffast-math -finline-functions -funroll-loops -fstrict-aliasing -Wall -I$(SRC)c64 +LDFLAGS = -lsndfile +TARGET = sam_player + +OBJS = sam.o sam_player.o wave_linux.o c64/c64.o c64/cia.o c64/cpu.o c64/kbd.o c64/mem.o c64/prg_file.o c64/sid.o c64/tape.o + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $*.c + +all: $(TARGET) + +$(TARGET): $(OBJS) + $(CC) $(OBJS) -o $@ $(LDFLAGS) + $(STRIP) --strip-all $@ + + +clean: + rm -f *.o $(TARGET) c64/*.o -- cgit v1.2.3