File: Makefile.gcc

package info (click to toggle)
pcf2bdf 1.04-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 112 kB
  • ctags: 161
  • sloc: cpp: 818; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (3)
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 -*-

CC		= gcc
CFLAGS		= -Wall -O2
CXX		= $(CC)
CXXFLAGS	= $(CFLAGS)
PREFIX		= /usr/local
BINPATH		= $(PREFIX)/bin
MANPATH		= $(PREFIX)/man/man1

all:		pcf2bdf

pcf2bdf:	pcf2bdf.o

clean:
	-$(RM) pcf2bdf pcf2bdf.exe pcf2bdf.o *~

install:	all
	-@if [ ! -d $(BINPATH)  ]; then mkdir -p $(BINPATH); fi
	install -m 755 pcf2bdf $(BINPATH)
	-@if [ ! -d $(MANPATH)  ]; then mkdir -p $(MANPATH); fi
	install -m 644 pcf2bdf.man $(MANPATH)/pcf2bdf.1