--- a/Makefile
+++ b/Makefile
@@ -187,6 +187,11 @@
 ifeq ($(HAVE_LIBSDL10),1)
 	$(MAKE) -C contrib/SDL all
 endif
+	cd contrib/GL; make atsctrb_GL.o; make clean
+	cd contrib/X11; make atsctrb_X11.o; make clean
+	cd contrib/SDL; make atsctrb_SDL.o; make clean
+	cd contrib/cblas; make atsctrb_cblas.o; make clean
+	cd contrib/clapack; make atsctrb_clapack.o; make clean
 
 ###### some toplevel commands ######
 
