• R/O
  • SSH
  • HTTPS

qrobosdk: コミット


コミットメタ情報

リビジョン4 (tree)
日時2008-05-06 21:07:12
作者satofumi

ログメッセージ

add Delay.h

変更サマリ

差分

--- trunk/libs/system/sdl/Delay.cpp (nonexistent)
+++ trunk/libs/system/sdl/Delay.cpp (revision 4)
@@ -0,0 +1,16 @@
1+/*!
2+ \file
3+ \brief 待機
4+
5+ \author Satofumi KAMIMURA
6+
7+ $Id$
8+*/
9+
10+#include <SDL.h>
11+#include "Delay.h"
12+
13+
14+void qrk::delay(int msec) {
15+ SDL_Delay(msec);
16+}
--- trunk/libs/system/sdl/Makefile (nonexistent)
+++ trunk/libs/system/sdl/Makefile (revision 4)
@@ -0,0 +1,25 @@
1+# Makefile for system/sdl
2+# Satofumi KAMIMURA
3+# $Id$
4+
5+# Compile options
6+CC = ${CXX}
7+CXXFLAGS = -g -O0 -Wall -Werror ${INCLUDES} `sdl-config --cflags`
8+INCLUDES = -I../
9+
10+# Target
11+SYSTEM_SDL = system_sdl.a
12+TARGET = ${SYSTEM_SDL}
13+
14+all : ${TARGET}
15+
16+clean :
17+ ${RM} *.ot ${TARGET}
18+
19+depend :
20+ makedepend -Y -- ${INCLUDES} -- ${wildcard *.h *.cpp}
21+
22+.PHONY : all clean depend
23+######################################################################
24+${SYSTEM_SDL} : \
25+ ${SYSTEM_SDL}(Delay.o) \
--- trunk/libs/system/Delay.h (nonexistent)
+++ trunk/libs/system/Delay.h (revision 4)
@@ -0,0 +1,17 @@
1+#ifndef DELAY_H
2+#define DELAY_H
3+
4+/*!
5+ \file
6+ \brief 待機
7+
8+ \author Satofumi KAMIMURA
9+
10+ $Id$
11+*/
12+
13+namespace qrk {
14+ void delay(int msec);
15+};
16+
17+#endif /* !DELAY_H */
--- trunk/libs/system/Makefile (nonexistent)
+++ trunk/libs/system/Makefile (revision 4)
@@ -0,0 +1,7 @@
1+# Makefile for libs/system
2+# Satofumi KAMIMURA
3+# $Id$
4+
5+include ../../handover.mk
6+
7+TARGET_DIR = sdl/
--- trunk/libs/Makefile (revision 3)
+++ trunk/libs/Makefile (revision 4)
@@ -4,4 +4,4 @@
44
55 include ../handover.mk
66
7-TARGET_DIR =
7+TARGET_DIR = system/
--- trunk/Makefile (revision 3)
+++ trunk/Makefile (revision 4)
@@ -10,4 +10,7 @@
1010 clean :
1111 cd libs/ && ${MAKE} clean
1212 cd programs/ && ${MAKE} clean
13- ${RM} -rf output_html/*
\ No newline at end of file
13+ ${RM} -rf output_html/*
14+
15+html :
16+ doxygen
旧リポジトリブラウザで表示