File: Makefile.gcc

package info (click to toggle)
pcf2bdf 1.04-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd, wheezy
  • size: 204 kB
  • ctags: 434
  • sloc: cpp: 2,454; makefile: 14
file content (22 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile for pcf2bdf (gcc)  -*- makefile -*-

CFLAGS		?= -Wall -O2
CXXFLAGS	?= -Wall -O2
PREFIX		?= /usr/local
BINPATH		?= $(PREFIX)/bin
MANPATH		?= $(PREFIX)/share/man/man1
INSTALL		?= install
INSTALL_PROGRAM	?= $(INSTALL)
INSTALL_DATA	?= $(INSTALL) -m 644
INSTALL_DIR	?= $(INSTALL) -d

all: pcf2bdf

clean:
	rm -f pcf2bdf pcf2bdf.exe pcf2bdf.o *~

install: all
	$(INSTALL_DIR) $(DESTDIR)$(BINPATH)
	$(INSTALL_PROGRAM) pcf2bdf $(DESTDIR)$(BINPATH)
	$(INSTALL_DIR) $(DESTDIR)$(MANPATH)
	$(INSTALL_DATA) pcf2bdf.man $(DESTDIR)$(MANPATH)/pcf2bdf.1