File: Makefile

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 (40 lines) | stat: -rw-r--r-- 907 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

INSTALL_DIR=/usr/local/share/piles
PILERFLAGS=-p
PILER=piler

PILES=share_base.pile share_one.pile share_two.pile share_three.pile \
	share_one_a.pile share_one_b.pile

all: pile

pile: $(PILES)

share_base.pile: pile-src/* include/*
	$(PILER) $(PILERFLAGS) -Iinclude -o $@ -n share_base pile-src

share_one.pile: share_one/* include/*
	$(PILER) $(PILERFLAGS) -Iinclude -o $@ share_one

share_one_a.pile: share_one_a/* include/*
	$(PILER) $(PILERFLAGS) -Iinclude -o $@ share_one_a

share_one_b.pile: share_one_b/* include/*
	$(PILER) $(PILERFLAGS) -Iinclude -o $@ share_one_b

share_two.pile: share_two/* include/*
	$(PILER) $(PILERFLAGS) -Iinclude -o $@ share_two

share_three.pile: share_three/* include/*
	$(PILER) $(PILERFLAGS) -Iinclude -o $@ share_three

install: $(PILES);
	cp $(PILES) $(INSTALL_DIR)/

clean:
	rm -rf sources
	rm -f $(PILES) *~ */*~ */*/*~ .depend

distclean: clean
	rm -rf *.seed