# HG changeset patch # User Sam Lantinga # Date 1150785675 0 # Node ID 7b19e09f5481fe99815e3a47504bcb20f3dba407 # Parent 504cb581ae1ceb8ce28064dd6b5f4afeb603526b Date: Thu, 15 Jun 2006 14:19:47 +0200 (CEST) From: "Torsten Giebl" Subject: [SDL] Patch for Makefile.DC Hello ! This patch autom. copys SDL_config.h.default into SDL_config.h when compiling SDL for Dreamcast using Makefile.dc. diff -r 504cb581ae1c -r 7b19e09f5481 Makefile.dc --- a/Makefile.dc Tue Jun 20 05:57:50 2006 +0000 +++ b/Makefile.dc Tue Jun 20 06:41:15 2006 +0000 @@ -101,8 +101,12 @@ test/threadwin.c \ test/torturethread.c \ -$(TARGET): $(OBJS) - $(AR) rcs $(TARGET) $(OBJS) +$(TARGET): copy_config \ + $(OBJS) + $(AR) rcs $(TARGET) $(OBJS) + +copy_config: + @cp include/SDL_config.h.default include/SDL_config.h clean: - rm -f $(OBJS) + rm -f include/SDL_config.h $(OBJS)