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