~ubuntu-branches/ubuntu/lucid/silo/lucid

« back to all changes in this revision

Viewing changes to common/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2007-10-25 09:28:08 UTC
  • mfrom: (15.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071025092808-1yhj12t7s4zqsfu5
Tags: 1.4.13a+git20070930-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build with -fno-stack-protector.
  - Change silo.postinst to automatically update the boot block without
    invoking siloconfig and keep asking questions on upgrades.
  - Convert silo.conf to use /dev/disk/by-uuid.
  - Ubuntu maintainer foobar.
  - Fix debian/rules call to dh_installdocs.
  - Drop the requirement of gcc-4.1 and start using default gcc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##
 
2
## Common files between tilo and silo
 
3
##
 
4
 
 
5
include ../Rules.make
 
6
 
 
7
.c.o:
 
8
        $(CC) $(CFLAGS) -c $*.c
 
9
 
 
10
.S.o:
 
11
        $(CC) $(CFLAGS) -c $*.S
 
12
 
 
13
OBJS = sdiv.o rem.o udiv.o urem.o jmp.o printf.o console.o prom.o tree.o stringops2.o\
 
14
        stringops1.o ffs.o divdi3.o udivdi3.o
 
15
PROGRAMS = bin2h
 
16
 
 
17
all: $(OBJS) $(PROGRAMS)
 
18
 
 
19
prom.o: prom.c
 
20
        $(CC) $(CFLAGS) -c -Wa,-Av9 -o prom.o prom.c
 
21
 
 
22
clean:
 
23
        $(RM) $(PROGRAMS) *.o