rnd-20000917-1-src
[rocksndiamonds.git] / src / Makefile
index cdef423e8d1b11c4d50bd8f42f4596dccd29197e..d034771b175b750a31b4dacd6144d3bbaf49e531 100644 (file)
@@ -41,13 +41,6 @@ else
 PROFILING = -pg
 endif
 
-ifeq ($(TARGET),sdl_old_10)
-TARGET = sdl
-USE_SDL_OLD_LIBS = true
-else
-USE_SDL_OLD_LIBS = false
-endif
-
 ifeq ($(TARGET),sdl)
 USE_SDL = true
 else
@@ -169,3 +162,15 @@ clean:
        $(RM) *.o
        $(RM) ../*.exe
        $(RM) $(PROGNAME)
+
+
+#-----------------------------------------------------------------------------#
+# development only stuff                                                      #
+#-----------------------------------------------------------------------------#
+
+depend:
+       for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend
+
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif