summaryrefslogtreecommitdiff
path: root/Makefile.dc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.dc')
-rw-r--r--Makefile.dc10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.dc b/Makefile.dc
index e225825c8..5885abf6e 100644
--- a/Makefile.dc
+++ b/Makefile.dc
@@ -101,8 +101,12 @@ TEST = \
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)