File: Makefile

package info (click to toggle)
gramofile 1.6-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,500 kB
  • sloc: ansic: 11,254; makefile: 60
file content (31 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (3)
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