File: Makefile

package info (click to toggle)
fblogo 0.3-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,316 kB
  • ctags: 30
  • sloc: ansic: 1,311; makefile: 61
file content (21 lines) | stat: -rw-r--r-- 389 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
CC=gcc
LIBS=-lpng
FLAGS= -O2 -Wall -DPNG_SETJMP_NOT_SUPPORTED

INSTALL = /usr/bin/install
INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755

DESTDIR =
PREFIX = /usr/local   
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/share/man


fblogo:	fblogo.c
	$(CC) -o fblogo $(FLAGS) $(INCLUDES) $(LIBS) fblogo.c

clean::
	rm -f *.o fblogo

install:
	${INSTALL_PROGRAM} fblogo ${DESTDIR}${BINDIR}