Clean up 'make clean'
This commit is contained in:
parent
ae802e3867
commit
2fa260cef6
12
Makefile
12
Makefile
@ -53,12 +53,12 @@ cflags += -pedantic
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
debug_CPPDEFINES = -DDEBUG
|
debug_CPPFLAGS = -DDEBUG $(CPPFALGS)
|
||||||
debug_CFLAGS = -Wall -O0 -ggdb
|
debug_CFLAGS = -Wall -O0 -ggdb
|
||||||
debug_CXXFLAGS = $(debug_CFLAGS)
|
debug_CXXFLAGS = $(debug_CFLAGS)
|
||||||
debug_LINKFLAGS = $(LINKFLAGS)
|
debug_LINKFLAGS = $(LINKFLAGS)
|
||||||
|
|
||||||
release_CPPDEFINES = -DNODEBUG
|
release_CPPFLAGS = -DNODEBUG $(CPPFALGS)
|
||||||
release_CFLAGS = -Wall -O2 $(CFLAGS)
|
release_CFLAGS = -Wall -O2 $(CFLAGS)
|
||||||
release_CXXFLAGS = $(release_CFLAGS)
|
release_CXXFLAGS = $(release_CFLAGS)
|
||||||
release_LINKFLAGS = $(LINKFLAGS)
|
release_LINKFLAGS = $(LINKFLAGS)
|
||||||
@ -393,9 +393,11 @@ docclean:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f node node_g $(builddir)/node $(builddir)/node_g $(libv8) $(libv8_g)
|
-rm -f node node_g $(builddir)/node $(builddir)/node_g $(libv8) $(libv8_g)
|
||||||
-find $(builddir) -name "*.o" | xargs rm -f
|
-rm -f $(node_release_objects) $(node_debug_objects)
|
||||||
-find $(builddir) -name "*.so" | xargs rm -f
|
-rm -f $(cares_release_objects) $(cares_debug_objects)
|
||||||
-find $(builddir) -name "*.dylib" | xargs rm -f
|
-rm -f $(http_parser_release_objects) $(http_parser_debug_objects)
|
||||||
|
-rm -f $(libev_release_objects) $(libev_debug_objects)
|
||||||
|
-rm -f $(libeio_release_objects) $(libeio_debug_objects)
|
||||||
-find . -name "*.pyc" | xargs rm -f
|
-find . -name "*.pyc" | xargs rm -f
|
||||||
|
|
||||||
distclean: docclean
|
distclean: docclean
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
AR = @AR@
|
AR = @AR@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user