Debian Codegraph @

listings/chapter-7/Makefile

raw
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 =
8 LIBRARIES =
9 PROGRAMS = clock-speed get-exe-path get-pid open-and-spin \
10 print-arg-list print-environment print-uptime
11
12 .PHONY: all clean
13
14 # Default target: build everything.
15 all: $(OBJECTS) $(LIBRARIES) $(PROGRAMS)
16
17 # Clean up build products.
18 clean:
19 rm -f *.o *.a $(PROGRAMS)