X-Git-Url: https://jxself.org/git/?p=b43-tools.git;a=blobdiff_plain;f=fwcutter%2FMakefile;h=5a5b8ec7e16563fd5143b3db1df13f9f9fa99398;hp=197ddef227ef868dab84cb620a16ad34f65d1d65;hb=HEAD;hpb=2cb9ee566f035acad146dc2c3c0b2de675469f02 diff --git a/fwcutter/Makefile b/fwcutter/Makefile index 197ddef..5a5b8ec 100644 --- a/fwcutter/Makefile +++ b/fwcutter/Makefile @@ -1,4 +1,4 @@ -VERSION = 012 +VERSION = 019 # The toolchain definitions CC = cc @@ -12,12 +12,12 @@ QUIET_DEPEND = $(Q:@=@echo ' DEPEND '$@;)$(CC) ifeq ($(C),1) QUIET_SPARSE = $(Q:@=@echo ' SPARSE '$@;)$(SPARSE) else -QUIET_SPARSE = @/bin/true +QUIET_SPARSE = @true endif PREFIX ?= /usr/local CFLAGS ?= -Os -fomit-frame-pointer -CFLAGS += -std=c99 -Wall -pedantic -D_BSD_SOURCE +CFLAGS += -std=c99 -Wall -pedantic -D_BSD_SOURCE -D_DEFAULT_SOURCE LDFLAGS ?= SRCS = fwcutter.c md5.c @@ -35,7 +35,7 @@ OBJS = $(sort $(patsubst %.c,obj/%.o,$(1))) # Generate dependencies $(call DEPS,$(SRCS)): dep/%.d: %.c @mkdir -p $(dir $@) - $(QUIET_DEPEND) -o $@.tmp -MM -MG -MT "$@ $(patsubst dep/%.d,obj/%.o,$@)" $(CFLAGS) $< && mv -f $@.tmp $@ + $(QUIET_DEPEND) -o $@.tmp -MM -MT "$@ $(patsubst dep/%.d,obj/%.o,$@)" $(CFLAGS) $< && mv -f $@.tmp $@ -include $(call DEPS,$(SRCS))