| 1 |
######################################################################## |
| 2 |
# Code listing from "Advanced Linux Programming," by CodeSourcery LLC # |
| 3 |
# Copyright (C) 2001 by New Riders Publishing # |
| 4 |
# See COPYRIGHT for license information. # |
| 5 |
######################################################################## |
| 6 |
|
| 7 |
OBJECTS = better_sleep.o print-cpu-times.o print-time.o \ |
| 8 |
write_journal_entry.o |
| 9 |
LIBRARIES = |
| 10 |
PROGRAMS = check-access copy itimer limit-cpu lock-file mprotect \ |
| 11 |
print-symlink print-uname sysinfo |
| 12 |
|
| 13 |
.PHONY: all clean |
| 14 |
|
| 15 |
# Default target: build everything. |
| 16 |
all: $(OBJECTS) $(LIBRARIES) $(PROGRAMS) |
| 17 |
|
| 18 |
# Clean up build products. |
| 19 |
clean: |
| 20 |
rm -f *.o *.a $(PROGRAMS) |