mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
Change librarie rules
This commit is contained in:
parent
9c77dd35a2
commit
53ef8d07f5
9
Rules.mk
9
Rules.mk
@ -8,17 +8,14 @@ MODULE ?= $(basename $(TOP))
|
||||
|
||||
DISTFILES ?= $(SOURCES) $(HEADERS) $(MANPAGES) Makefile
|
||||
|
||||
$(LIBRARY): $(LIBRARY)($(patsubst %.S,%.o,$(SOURCES:.c=.o)))
|
||||
|
||||
%.8: %.sgml
|
||||
docbook-to-man $< > $@
|
||||
|
||||
%.8.gz: %.8
|
||||
gzip -9c $< > $@
|
||||
|
||||
ifdef LIBRARY
|
||||
$(LIBRARY): $(OBJS)
|
||||
$(AR) rc $@ $^
|
||||
endif
|
||||
|
||||
dist:
|
||||
for file in $(DISTFILES); do \
|
||||
dir=$$(dirname $$file); \
|
||||
@ -34,5 +31,5 @@ clean:
|
||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(MANPAGES)
|
||||
else
|
||||
clean:
|
||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(MANPAGES)
|
||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(MANPAGES) $(CLEAN) $(LIBRARIES)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user