/[baselayout]/trunk/src/Makefile
Gentoo

Contents of /trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 484 - (show annotations) (download)
Wed Apr 21 17:09:18 2004 UTC (15 years, 2 months ago) by vapier
File size: 707 byte(s)
update copyright years

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 CC = gcc
6 LD = gcc
7
8 CFLAGS = -Wall -O2
9 DESTDIR =
10
11 BIN_TARGETS =
12 SBIN_TARGETS = consoletype runscript start-stop-daemon
13
14 TARGET = $(BIN_TARGETS) $(SBIN_TARGETS)
15
16 all: $(TARGET)
17
18 .o:
19 $(CC) $(CFLAGS) -c $^
20
21 consoletype: consoletype.o
22 $(LD) -o $@ $^
23
24 runscript: runscript.o
25 $(LD) -o $@ $^ -ldl
26
27 start-stop-daemon: start-stop-daemon.o
28 $(LD) -o $@ $^
29
30 install: $(TARGET)
31 install -m 0755 -d $(DESTDIR)/bin
32 install -m 0755 -d $(DESTDIR)/sbin
33 # install -m 0755 $(BIN_TARGETS) $(DESTDIR)/bin
34 install -m 0755 $(SBIN_TARGETS) $(DESTDIR)/sbin
35
36 clean:
37 rm -f $(TARGET)
38 rm -f *.o *~ core

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20