summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index bdf0f9c..4cace62 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ GCXXINCS=
LIBIVY = libIvy
LIBIVY_GLFW = $(LIBIVY)_glfw
-LIBIVY_STATIC = l$(LIBIVY).a
+LIBIVY_STATIC = $(LIBIVY).a
LIBIVY_GLFW_STATIC = $(LIBIVY_GLFW).a
LIBIVY_SHARED = $(LIBIVY)$(DSO_EXT)
@@ -96,8 +96,9 @@ testIvy : testIvy.cxx
g++ -g $(LDFLAGS) $(LLDLIBS) -o $@ testIvy.cxx -lIvy -lxtivy -lXt -lX11
-clean :
- /bin/rm -f *$(DSO_EXT) $(OBJECTS) $(LIBIVY) $(DEPS) \
- $(OBJECTS_GLFW) $(LIBIVY_GLFW) $(DEPS_GLFW) core *.o *.d *~
+distclean clean :
+ rm -f $(LIBIVY_STATIC) $(LIBIVY_GLFW_STATIC) $(LIBIVY_SHARED) \
+ $(LIBIVY_GLFW_SHARED) $(OBJECTS) $(DEPS) \
+ $(OBJECTS_GLFW) $(DEPS_GLFW) core *.o *.d *~
-include *.d