File: makefile.uw7

package info (click to toggle)
snd 3.4-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,148 kB
  • ctags: 12,594
  • sloc: ansic: 86,516; lisp: 3,480; sh: 1,507; makefile: 119
file content (21 lines) | stat: -rw-r--r-- 682 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Make file for snd on UnixWare 7 using X/Motif.
# if you have the Guile library, include -DHAVE_GUILE in CFLAGS and -lguile in LIBS

CC = cc

# Compiler must find "xpm.h" and "soundcard.h".
CFLAGS = -g -DUW2 -DXPM -I/usr/X/include -I/usr/lib/oss \
  -DBYTE_ORDER=LITTLE_ENDIAN

# dynamic link of Xpm.
#LIBS = -lXpm -lXext -lXm -lXt -lSM -lICE -lX11 -lm -lsocket

# static link of Xpm.
LIBS = -Wl,-B,static -lXpm -Wl,-B,dynamic -lXext -lXm -lXt -lSM -lICE -lX11 -lm -lsocket

include makesnd.files

snd: $(SNDLIB_HEADERS) $(SND_HEADERS) $(SND_X_HEADERS) $(SNDLIB_O_FILES) $(O_FILES) $(X_O_FILES)
	$(CC) $(SNDLIB_O_FILES) $(O_FILES) $(X_O_FILES) -o snd $(LIBS)

include makesnd.back