Date: Thu, 15 Jun 2006 14:19:47 +0200 (CEST) SDL-1.3
authorSam Lantinga <slouken@libsdl.org>
Tue, 20 Jun 2006 06:41:15 +0000
branchSDL-1.3
changeset 16947b19e09f5481
parent 1693 504cb581ae1c
child 1695 7179cb72dbba
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.
Makefile.dc
     1.1 --- a/Makefile.dc	Tue Jun 20 05:57:50 2006 +0000
     1.2 +++ b/Makefile.dc	Tue Jun 20 06:41:15 2006 +0000
     1.3 @@ -101,8 +101,12 @@
     1.4  	test/threadwin.c \
     1.5  	test/torturethread.c \
     1.6  
     1.7 -$(TARGET): $(OBJS)
     1.8 -	$(AR) rcs $(TARGET) $(OBJS)
     1.9 +$(TARGET): copy_config \
    1.10 +	$(OBJS)
    1.11 +	$(AR) rcs $(TARGET) $(OBJS) 
    1.12 +
    1.13 +copy_config:
    1.14 +	@cp include/SDL_config.h.default include/SDL_config.h
    1.15  
    1.16  clean:
    1.17 -	rm -f $(OBJS)
    1.18 +	rm -f include/SDL_config.h $(OBJS)