-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
47 lines (36 loc) · 909 Bytes
/
Makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# Makefile, Stereograph 0.33b
#
# If necessary please edit to suit your system.
#
# since release 0.17 libpng is required;
# since release 0.32 libjpeg is required;
# since release 0.33 libX11 is required;
#
# if this library is not intalled in /usr/lib
# please correct the LDFAGS down there.
#
#PREFIX=/usr/local
PREFIX=`grep -i "prefix =" ../Makefile | grep -i -v exec | cut -d"=" -f 2`
# Linux
CC = gcc
CFLAGS = -Wall -O2 -Dlinux -DSTEREOGRAPH_ONLY -DX11GUI
LDFLAGS = -ljpeg -lpng -lz -lm -lX11 -ldl -rdynamic -L/usr/X11R6/lib
# HPUX
#CC = cc
#CFLAGS = -Aa -D_HPUX_SOURCE -DSYSV +O3
# DEC
#CC = cc
#CFLAGS = -std1 -float -O2
# SunOS with acc
#CC = acc
#CFLAGS = -fast
# Generic Unix
#CC = cc
#CFLAGS = -ansi -O
# Generic Unix with gcc
#CC = gcc
#CFLAGS = -ansi -Wall -O2
# no need to change anything below here
#----------------------------------------------------------
include Makefile.in