File: Makefile

package info (click to toggle)
fortune-mod 9708-5
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 3,584 kB
  • ctags: 202
  • sloc: ansic: 1,604; makefile: 238
file content (23 lines) | stat: -rw-r--r-- 660 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Note: this makefile should be called by the makefile in the parent
# directory, which will pass it a number of variables defined there.
# To make the files here properly, try make util-bin or make util-debug
# from there.  Install *only* works at the top level; do make install-util
# and make install-uman.  make clean will work properly if called in
# this directory.

all: strfile unstr rot

strfile: strfile.o
	$(CC) $(LDFLAGS) -o strfile strfile.o

unstr: unstr.o
	$(CC) $(LDFLAGS) -o unstr unstr.o

randstr: randstr.o
	$(CC) $(LDFLAGS) -o randstr randstr.o

rot: rot.o
	$(CC) $(LDFLAGS) -o rot rot.o

clean:
	rm -f *.o unstr strfile randstr rot ansify