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:
parent
125930b454
commit
396bb4c3d3
1
Makefile
1
Makefile
@ -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 ; \
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user