| 1 |
# Note: this makefile should be called by the makefile in the parent |
| 2 |
# directory, which will pass it a number of variables. Better to call |
| 3 |
# make fortune-bin or make fortune-debug from there. make install |
| 4 |
# *only* works at the top level--do make install-fortune and make |
| 5 |
# install-fman. Make clean is an acceptable target called directly |
| 6 |
# in this directory, though. |
| 7 |
|
| 8 |
all: fortune |
| 9 |
|
| 10 |
fortune: fortune.o |
| 11 |
$(CC) $(LDFLAGS) -o fortune fortune.o $(LIBS) |
| 12 |
|
| 13 |
clean: |
| 14 |
rm -f fortune.o fortune fortune.man |
| 15 |
|
| 16 |
|