source:
examples/protocol/Makefile
@
06a68c5
Last change on this file since 06a68c5 was 10b165c, checked in by Daniel Lawson <dlawson@…>, 18 years ago | |
---|---|
|
|
File size: 384 bytes |
Rev | Line | |
---|---|---|
[2c060e3] | 1 | |
[10b165c] | 2 | PREFIX=/usr/local |
[cf86a61] | 3 | CC=gcc |
[2c060e3] | 4 | |
[10b165c] | 5 | INCLUDE = -I$(PREFIX)/include |
[2c060e3] | 6 | CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2 |
7 | CFLAGS += $(INCLUDE) | |
[10b165c] | 8 | libdir = -L$(PREFIX)/lib |
[2c060e3] | 9 | LDLIBS = $(libdir) -ltrace |
10 | ||
11 | BINS = protocol | |
12 | .PHONY: all clean distclean install depend | |
13 | ||
14 | all: $(BINS) | |
15 | ||
16 | clean: | |
17 | $(RM) *~ *.o $(BINS) $(OBJS) core | |
18 | ||
19 | distclean: | |
20 | $(RM) *~ *.o $(BINS) $(OBJS) core | |
21 | ||
22 | install: | |
23 | @true | |
24 | ||
25 | ||
26 | # vim: noet ts=8 sw=8 |
Note: See TracBrowser
for help on using the repository browser.