Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
pdisk
pdisk.makefile-deps.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pdisk.makefile-deps.patch of Package pdisk
makefile | 35 ++++++----------------------------- 1 files changed, 6 insertions(+), 29 deletions(-) Index: pdisk/makefile =================================================================== --- pdisk.orig/makefile +++ pdisk/makefile @@ -129,8 +129,9 @@ MAC_68KBINARY= \ pdisk_68k.hqx +MAKEDEPS = -Wp,-MD,.$(subst /,-,$*).d CC = gcc -CFLAGS = -Wall -O1 -g --save-temps -D_FILE_OFFSET_BITS=64 +CFLAGS = -Wall -O1 -g --save-temps -D_FILE_OFFSET_BITS=64 $(MAKEDEPS) DIST_TAR_FLAGS = cvf @@ -146,7 +147,7 @@ tags: $(MAC_SOURCE) $(UNIX_SOURCE) ctags $(MAC_SOURCE) $(UNIX_SOURCE) clean: - rm -f *.o $(UNIX_BINARIES) list.src + rm -f *.o $(UNIX_BINARIES) list.src .*.d spotless: clean rm -f $(MAC_BINARY) $(MAC_68KBINARY) tags @@ -177,33 +178,9 @@ diff: name: ./name_latest $(ALL_FILES) -# -# in lieu of a real dependency generator -# -convert.h: dpme.h -deblock_media.h: media.h -dpme.h: bitfield.h -dump.h: partition_map.h hfs_misc.h -file_media.h: media.h -partition_map.h: dpme.h media.h -pathname.h: media.h -validate.h: partition_map.h - -bitfield.o: bitfield.c bitfield.h -convert.o: convert.c convert.h -deblock_media.o: deblock_media.c deblock_media.h -dump.o: dump.c dump.h pathname.h io.h errors.h -errors.o: errors.c errors.h -file_media.o: file_media.c file_media.h errors.h -io.o: io.c io.h errors.h -layout_dump.o: layout_dump.c layout_dump.h -media.o: media.c media.h -partition_map.o: partition_map.c partition_map.h pathname.h deblock_media.h io.h convert.h util.h errors.h -pathname.o: pathname.c pathname.h file_media.h -pdisk.o: pdisk.c pdisk.h io.h partition_map.h pathname.h errors.h dump.h validate.h version.h util.h -util.o: util.c version.h util.h -validate.o: validate.c validate.h deblock_media.h pathname.h convert.h io.h errors.h - +ifneq ($(wildcard .*.d),) +include $(wildcard .*.d) +endif # # fake dependencies used only by list.src {for $(MAC_PROJECT)}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor