| 1 |
# Note: this makefile should be called by the makefile in the parent |
| 2 |
# directory, which will pass it a number of variables defined there. |
| 3 |
# To make the files here properly, try make util-bin or make util-debug |
| 4 |
# from there. Install *only* works at the top level; do make install-util |
| 5 |
# and make install-uman. make clean will work properly if called in |
| 6 |
# this directory. |
| 7 |
|
| 8 |
all: strfile unstr rot |
| 9 |
|
| 10 |
strfile: strfile.o |
| 11 |
$(CC) $(LDFLAGS) -o strfile strfile.o |
| 12 |
|
| 13 |
unstr: unstr.o |
| 14 |
$(CC) $(LDFLAGS) -o unstr unstr.o |
| 15 |
|
| 16 |
randstr: randstr.o |
| 17 |
$(CC) $(LDFLAGS) -o randstr randstr.o |
| 18 |
|
| 19 |
rot: rot.o |
| 20 |
$(CC) -fsigned-char $(LDFLAGS) -o rot rot.o |
| 21 |
|
| 22 |
clean: |
| 23 |
rm -f *.o unstr strfile randstr rot ansify |