blob: 5abb6c4a7505c85349495ace3be69acd8a4cd136 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ident "$Id$"
## -----------------------------------------------------------------------
##
## Copyright 2001 Transmeta Corporation - All Rights Reserved
##
## This source module contains confidential and proprietary information
## of Transmeta Corporation. It is not to be disclosed or used except
## in accordance with applicable agreements. This copyright notice does
## not evidence any actual or intended publication of such source code.
##
## -----------------------------------------------------------------------
##
## Makefile for pngtoico
##
INSTALLROOT =
prefix = /usr/local
bindir = $(prefix)/bin
mandir = $(prefix)/man
man1dir = $(mandir)/man1
CC = gcc -W -Wall
CFLAGS = -O2 -fomit-frame-pointer
LDFLAGS = -s
LIBS = -lpng
INSTALL = install
INSTALL_EXEC = $(INSTALL) -c -m 755
INSTALL_DATA = $(INSTALL) -c -m 644
all: pngtoico
clean:
rm -f pngtoico
distclean spotless: clean
rm -f *~ \#*
install: all
mkdir -p $(INSTALLROOT)$(bindir) $(INSTALLROOT)$(man1dir)
$(INSTALL_EXEC) pngtoico $(INSTALLROOT)$(bindir)
$(INSTALL_DATA) pngtoico.1 $(INSTALLROOT)$(man1dir)
pngtoico: pngtoico.c
$(CC) $(CFLAGS) $(LDFLAGS) -o pngtoico pngtoico.c $(LIBS)
|