File: Makefile

package info (click to toggle)
xsol 0.31-11
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 408 kB
  • ctags: 392
  • sloc: ansic: 4,691; makefile: 18
file content (35 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (7)
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
CC=cc

# You only need to uncomment one section below
# Hopefully, in a future release I will include gnu configure

# For Linux Systems with Redhat Motif 2.1
LIBS=-lXm -lXt -lX11 -lXext -lXp
LIBPATH=/usr/X11R6/lib
MOREARGS=-Wall


# Static Link version for Linux Systems with Redhat Motif 2.1
LIBS=-lXm -lXt -lX11 -lXext -lXp -lSM -lICE
LIBPATH=/usr/X11R6/lib
MOREARGS=-static


# For Linux Systems with Lesstif (or other versions of Motif)
# LIBS=-lXm -lXt -lX11 -lXext
# LIBPATH=/usr/X11R6/lib
# MOREARGS=

# For SCO UNIX
# LIBS=-lXm -lXt -lX11 -lXext -lsocket -lmalloc
# LIBPATH=/usr/lib/X11
# MOREARGS=

# For Solaris
# LIBS=-lXm -lXt -lX11 -lXext
# LIBPATH=/usr/dt/lib
# MOREARGS=-I/usr/openwin/include -I/usr/dt/include


xsol: xsol.c xsol.h
	$(CC) -o xsol xsol.c $(MOREARGS) -L$(LIBPATH) $(LIBS)