freebsd-ports/graphics/show/files/Makefile
Pav Lucistnik 8b9c92793f - Update to 2.2
- Claim maintainership

PR:		ports/91022
Submitted by:	Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
2005-12-29 18:32:08 +00:00

17 lines
408 B
Makefile

# $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)