File: Makefile

package info (click to toggle)
hfsprogs 540.1.linux3-6
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 2,532 kB
  • sloc: ansic: 33,396; makefile: 87
file content (15 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
VERSION=540.1.linux3

CFLAGS += -I$(CURDIR)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"$(VERSION)\"
LDFLAGS := -Wl,--build-id
SUBDIRS := newfs_hfs.tproj fsck_hfs.tproj

all clean:
	for d in $(SUBDIRS); do $(MAKE) -C $$d -f Makefile.lnx $@; done

dist: clean
	-mkdir diskdev_cmds-$(VERSION)
	cp -a $(SUBDIRS) Makefile include diskdev_cmds-$(VERSION)
	tar zcf diskdev_cmds-$(VERSION).tar.gz diskdev_cmds-$(VERSION) 

export CC CFLAGS LDFLAGS