Tweaks for make clean / realclean.
This commit is contained in:
5
Makefile
5
Makefile
@@ -21,8 +21,9 @@ clean:
|
||||
done
|
||||
|
||||
|
||||
realclean: clean
|
||||
#-rm -rf $(LIB_DIR)
|
||||
realclean:
|
||||
touch $(TOP)/configs/current
|
||||
make clean
|
||||
-rm -rf lib*
|
||||
-rm -f $(TOP)/configs/current
|
||||
|
||||
|
@@ -73,9 +73,6 @@ default: readtex.c readtex.h $(PROGS)
|
||||
|
||||
|
||||
clean:
|
||||
-rm -f *.o *~
|
||||
|
||||
realclean:
|
||||
-rm -f $(PROGS)
|
||||
-rm -f *.o *~
|
||||
-rm -f readtex.[ch]
|
||||
|
@@ -32,10 +32,8 @@ PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
|
||||
|
||||
default: $(PROGS)
|
||||
|
||||
clean:
|
||||
-rm -f *.o *~
|
||||
|
||||
realclean:
|
||||
clean:
|
||||
-rm -f $(PROGS)
|
||||
-rm -f *.o *~
|
||||
|
||||
|
@@ -26,9 +26,7 @@ PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
|
||||
|
||||
default: $(PROGS)
|
||||
|
||||
clean:
|
||||
-rm -f *.o *~
|
||||
|
||||
realclean:
|
||||
clean:
|
||||
-rm -f $(PROGS)
|
||||
-rm -f *.o *~
|
||||
|
@@ -6,7 +6,7 @@ include $(TOP)/configs/current
|
||||
|
||||
INCDIR = $(TOP)/include
|
||||
|
||||
LIBS = -L$(LIB_DIR) $(APP_LIB_DEPS)
|
||||
LIBS = $(APP_LIB_DEPS)
|
||||
|
||||
LIB_DEP = $(LIB_DIR)/$(GL_LIB) $(LIB_DIR)/$(GLU_LIB)
|
||||
|
||||
@@ -44,9 +44,6 @@ default: $(PROGS)
|
||||
|
||||
|
||||
clean:
|
||||
-rm -f *.o *~
|
||||
|
||||
realclean:
|
||||
-rm -f $(PROGS)
|
||||
-rm -f *.o *~
|
||||
|
||||
|
@@ -27,8 +27,10 @@ default: $(LIB_DIR)/$(GLW_LIB_NAME)
|
||||
|
||||
|
||||
clean:
|
||||
-rm depend
|
||||
-rm -f *.o *~
|
||||
|
||||
|
||||
# Make the library
|
||||
$(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS)
|
||||
$(TOP)/bin/mklib -o $(GLW_LIB) -major $(MAJOR) -minor $(MINOR) \
|
||||
|
@@ -165,6 +165,7 @@ tags:
|
||||
|
||||
clean:
|
||||
-rm -f */*.o
|
||||
rm -f depend
|
||||
for dir in $(SUBDIRS) ; do \
|
||||
pushd $$dir ; \
|
||||
make clean ; \
|
||||
|
Reference in New Issue
Block a user