File: samples.mk

package info (click to toggle)
psp 0.5.5-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 4,820 kB
  • ctags: 2,333
  • sloc: perl: 21,074; ansic: 4,553; sh: 2,407; makefile: 461; php: 11; pascal: 6
file content (43 lines) | stat: -rw-r--r-- 1,005 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
# Copyright (c) 2000, FundsXpress Financial Network, Inc.
# This library is free software released "AS IS WITH ALL FAULTS"
# and WITHOUT ANY WARRANTIES under the terms of the GNU Lesser
# General Public License, Version 2.1, a copy of which can be
# found in the "COPYING" file of this distribution.
#
# $Id: samples.mk,v 1.1.1.2 2003/12/06 19:47:27 hartmans Exp $
#
# Variables that may be set before this file is included:
#
#  PILE = the name of the current pile.

# The following are typical defaults which will usually get overridden 
# by the Makefile generated from this directory.
#
INSTALL_DIR=/usr/local/share/piles
PILERFLAGS=-p -c
PILER=piler

all:: pile

pile: $(PILE).pile

$(PILE).pile:
	$(PILER) $(PILERFLAGS) -o $@ -n $(PILE) .

depend: .depend

.depend:
	$(PILER) -M -o $(PILE).pile . > $@

-include .depend

install:: all
	cp $(PILE).pile $(INSTALL_DIR)/$(PILE).pile

clean::
	rm -f *.pile .depend
	find . -name '*~' -or -name '*#' -exec echo rm {} \;

distclean:: clean
	rm -f *.seed