File: Makefile

package info (click to toggle)
pup 1.1-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 684 kB
  • ctags: 458
  • sloc: ansic: 12,994; makefile: 67
file content (48 lines) | stat: -rw-r--r-- 1,034 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Makefile for pup -- Printer Utility Program
# Author:             Matt Simpson
#                     Arlington, TX
#                     matthewsimpson@home.com
#
# ***************************************************************************
#                 COPYRIGHT (C) 1999, 2000 Matt Simpson
#                 GNU General Public License
#                 See lexgui.c for full notice.
# *************************************************************************** 
#

#CC = gcc -g -Wall -O2 # -g to compile in debugging info 
CC = gcc -Wall -O2

DESTDIR=
BINDIR= $(DESTDIR)/usr/bin

SRCS= lexgui.c \
	build_choices.c \
	errors.c \
	attributes.c \
	lexwidgets.c \
	nbpages.c \
	fixed.c \
	settings.c \
	ptp.c \
	pcommands.c \
	proutines.c \
	lexroutines.c \
	lexcalls.c \
	lexincar.c \
	lexalignpop.c \
	lexgaugepop.c \
	lexhand.c

all: pup 
	@echo Done.

pup: $(SRCS)
	$(CC) $(SRCS) `gtk-config --cflags` `gtk-config --libs` -lz -o $@

install: pup
	install -d $(BINDIR)
	install ./pup $(BINDIR)

clean:
	rm -f *.o *~ *.bak pup