1# Modified for use with GramoFile, June 1998, J.A. Bezemer
2
3PROG = bplay
4OBJS = bplay.o sndfunc.o shmbuf.o ../yesnowindow.o ../boxes.o \
5        ../buttons.o ../textwindow.o ../errorwindow.o \
6        ../clrscr.o ../secshms.o
7#SRCS = bplay.c sndfunc.o shmbuf.c
8
9CC = gcc
10LDFLAGS =
11
12########## CHOOSE YOUR ARCHITECTURE:    (NOTE: also see ../Makefile!)
13
14# For Linux (and maybe others), use these:
15CFLAGS += -Wall -O2 -DUSEBUFFLOCK -DLP2CD -DVUMETER # -DDEBUG
16LIBS = -L/usr/local/lib -lncurses
17
18# For FreeBSD (and maybe others), use these:
19#CFLAGS += -Wall -O2 -DLP2CD -DVUMETER # -DDEBUG
20#LIBS = -L/usr/local/lib -lncurses
21
22# -DOLD_CURSES can be used here, too.
23
24##########
25
26$(PROG): $(OBJS)
27	$(CC) $(LDFLAGS) $(OBJS) -o $(PROG) $(LIBS)
28	ln -sf bplay brec
29
30clean:
31	rm -f bplay brec *.o
32