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