File: XMakefile.inc

package info (click to toggle)
diablo 1.13-1
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 804 kB
  • ctags: 875
  • sloc: ansic: 8,308; perl: 1,908; sh: 186; csh: 81; makefile: 67
file content (31 lines) | stat: -rw-r--r-- 492 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
22
23
24
25
26
27
28
29
30
31

/*
 * XMakefile.inc
 */

.set VERS 1.13
.set LIB	obj/libdiablo.a
.set CDEFINES	-DVERS=$(VERS) -DFSSTND
#if __GNUC__
.set CFLAGS	-g -O2 -Wall -Wstrict-prototypes -I. -Ilib $(CDEFINES)
.set LSTATIC	-static
.set CC		gcc
#else
.set CFLAGS	-O2 -I. -Ilib $(CDEFINES)
.set LSTATIC
.set CC		cc
#endif

.set LFLAGS	-Lobj -ldiablo -lm
.set IDIR	/news
.set MDIR	/usr/local/man

#ifdef sun
/*
 * may also have to add -lsocket
 */
.set LFLAGS	$(LFLAGS) -lnsl
#endif

.set DIST /home/httpd/htdocs/diablo