/[baselayout]/trunk/src/Makefile
Gentoo

Contents of /trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 345 - (show annotations) (download)
Sun Apr 6 16:28:27 2003 UTC (16 years ago) by azarah
File size: 750 byte(s)
various fixes; moved .c files to src

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20