blob: 26a5c982aa326dd4fd769e6aac919d0a2b2f3cd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# $FreeBSD$
CC ?= gcc
CFLAGS ?= -g -O2 -Wall
XROOT = ${X11BASE}
LROOT = ${LOCALBASE}
INCLUDES = -I$(XROOT)/include -I$(LROOT)/include
LIBS = -lX11 -lXext -ljpeg -lpng -ltiff -lz -lungif -lm -lImlib
LDPATH = -L$(XROOT)/lib -L$(LROOT)/lib
PROG = show
PREFIX = ${LOCALBASE}
all: $(PROG)
$(PROG): $(PROG).c
$(CC) $(PROG).c $(CFLAGS) $(INCLUDES) $(LDPATH) $(LIBS) -o $(PROG)
|