File: Makefile

package info (click to toggle)
fortune-mod 9708-19
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,016 kB
  • ctags: 206
  • sloc: ansic: 1,735; makefile: 260; sh: 2
file content (16 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Note: this makefile should be called by the makefile in the parent
# directory, which will pass it a number of variables.  Better to call
# make fortune-bin or make fortune-debug from there.  make install
# *only* works at the top level--do make install-fortune and make
# install-fman.  Make clean is an acceptable target called directly
# in this directory, though.

all: fortune

fortune: fortune.o
	$(CC) $(LDFLAGS) -o fortune fortune.o $(LIBS)

clean:
	rm -f fortune.o fortune fortune.man