big makefile cleanup

This commit is contained in:
Vítor Santos Costa
2014-02-13 01:58:48 +00:00
parent 0420169bd0
commit 1d27d22ef0
46 changed files with 154 additions and 56 deletions

View File

@@ -53,7 +53,7 @@ yap_random.o: $(srcdir)/yap_random.c
@DO_SECOND_LD@yap_random.@SO@: yap_random.o
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o yap_random.@SO@ yap_random.o @EXTRA_LIBS_FOR_DLLS@
install: all
install: all install-examples
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
install-examples:
@@ -61,6 +61,7 @@ install-examples:
clean:
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
realclean: clean
rm -f Makefile $(SOBJS)
distclean: clean
rm -f Makefile