1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

[PATCH] let the extras/ programs build "pretty" also

This commit is contained in:
greg@kroah.com 2004-10-15 18:49:27 -07:00 committed by Greg KH
parent 125930b454
commit 396bb4c3d3
3 changed files with 9 additions and 2 deletions

View File

@ -185,6 +185,7 @@ all: $(ROOT) $(SENDER) $(DAEMON) $(INFO) $(TESTER) $(WAIT) $(GEN_CONFIGS)
LD="$(LD)" \
SYSFS="$(SYSFS)" \
KERNEL_DIR="$(KERNEL_DIR)" \
QUIET="@$(PWD)/ccdv" \
-C $$target $@ ; \
done ; \

View File

@ -72,5 +72,8 @@ clean:
spotless: clean
.c.o:
$(QUIET) $(CC) $(CFLAGS) -c -o $@ $<
$(PROG): $(OBJS)
$(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)

View File

@ -49,8 +49,11 @@ HEADERS = volume_id.h dasdlabel.h
$(OBJS): $(HEADERS)
.c.o:
$(QUIET) $(CC) $(CFLAGS) -c -o $@ $<
$(PROG): $(OBJS) $(HEADERS)
$(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
clean:
rm -f $(PROG) $(OBJS)