~ubuntu-branches/ubuntu/karmic/isomaster/karmic

« back to all changes in this revision

Viewing changes to bk/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): David Johnson
  • Date: 2007-12-18 21:11:57 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218211157-xwhlx6o2r7d0en9q
Tags: 1.3-1
* New upstream release
* Update to standards version 3.7.3
* Fix watch file for rc filename variations

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# CC, AR, RM defined in parent makefile
2
2
 
3
 
OBJECTS = bkRead7x.o bkAdd.o bkDelete.o bkExtract.o bkRead.o bkPath.o bkMangle.o bkWrite.o bkWrite7x.o bkTime.o bkSort.o bkError.o bkGet.o bkSet.o bkCache.o bkLink.o bkMisc.o
 
3
OBJECTS = bkRead7x.o bkAdd.o bkDelete.o bkExtract.o bkRead.o bkPath.o bkMangle.o bkWrite.o bkWrite7x.o bkTime.o bkSort.o bkError.o bkGet.o bkSet.o bkCache.o bkLink.o bkMisc.o bkIoWrappers.o
4
4
 
5
5
# -DDEBUG and -g only used during development
6
6
CFLAGS  += -Wall -pedantic -std=gnu99 -Wundef -Wcast-align -W -Wpointer-arith -Wwrite-strings -Wno-unused-parameter
8
8
# the _FILE_OFFSET_BITS=64 is to enable stat() for large files
9
9
CPPFLAGS = -D_FILE_OFFSET_BITS=64
10
10
 
 
11
ifdef WINDOWS_BUILD
 
12
  CPPFLAGS += -DWINDOWS_BUILD
 
13
endif
 
14
 
11
15
bk.a: $(OBJECTS)
12
16
        @echo 'Creating bk.a'
13
17
        @$(AR) -cr bk.a $(OBJECTS)
14
18
 
15
19
# static pattern rule
16
 
$(OBJECTS): %.o: %.c Makefile bk.h bkInternal.h
 
20
$(OBJECTS): %.o: %.c %.h Makefile bk.h bkInternal.h
17
21
        @echo 'Compiling' $<
18
22
        @$(CC) $< $(CFLAGS) $(CPPFLAGS) -c -o $@
19
23