File: Makefile

package info (click to toggle)
verse 0.21
  • links: PTS
  • area: main
  • in suites: potato
  • size: 160 kB
  • ctags: 17
  • sloc: makefile: 47; ansic: 43
file content (22 lines) | stat: -rw-r--r-- 407 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
# The location of the verses
VERSE_LIB = /usr/lib/
VERSE_NAME = daily.verse
BIN_DIR = /usr/bin
#CCOPTS = -g
CCOPTS = -O2 -ansi

all : verse

clean :
	rm -f verse *~

distclean : clean

verse : verse.c
	gcc $(CCOPTS) -DVERSE_LIB=\"$(VERSE_LIB)$(VERSE_NAME)\" -o verse verse.c
	strip verse

install : verse $(VERSE_NAME)
	cp verse debian-tmp/$(BIN_DIR)
	cp $(VERSE_NAME) debian-tmp/$(VERSE_LIB)$(VERSE_NAME)