From 873f8e5f55818e711903331d849c86f479d7e2b7 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Wed, 27 Apr 2011 01:10:18 +0900 Subject: [PATCH] =?utf8?q?cmd.c=E3=81=AE=E5=89=8A=E9=99=A4=E3=81=AB?= =?utf8?q?=E4=BC=B4=E3=81=84=E3=80=81=E3=83=A6=E3=83=8B=E3=83=83=E3=83=88?= =?utf8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=A8doxygen=E3=83=89=E3=82=AD?= =?utf8?q?=E3=83=A5=E3=83=A1=E3=83=B3=E3=83=88=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/doxygen.c | 1 - test/unit/.gitignore | 1 + test/unit/addcerrlist/Makefile | 7 +++++-- test/unit/getcmdcode/Makefile | 7 ++++++- test/unit/getgr/Makefile | 7 ++++++- test/unit/hash/Makefile | 6 +++++- test/unit/linetok/Makefile | 2 +- test/unit/nh2word/Makefile | 5 +++++ test/unit/opdtok/Makefile | 7 ++++++- test/unit/setcerr/Makefile | 7 +++++-- 10 files changed, 40 insertions(+), 10 deletions(-) diff --git a/src/doxygen.c b/src/doxygen.c index 7eb00fa..a1705f6 100644 --- a/src/doxygen.c +++ b/src/doxygen.c @@ -8,7 +8,6 @@ * \section そのほかのソースファイル * - src/assemble.c * - src/cerr.c - * - src/cmd.c * - src/cmem.c * - src/dump.c * - src/exec.c diff --git a/test/unit/.gitignore b/test/unit/.gitignore index 4d71d67..bc4e289 100644 --- a/test/unit/.gitignore +++ b/test/unit/.gitignore @@ -1,4 +1,5 @@ */1.txt */err.txt */*.log +*/cmd */cmd.dSYM diff --git a/test/unit/addcerrlist/Makefile b/test/unit/addcerrlist/Makefile index b2087fb..1bf39b9 100644 --- a/test/unit/addcerrlist/Makefile +++ b/test/unit/addcerrlist/Makefile @@ -4,8 +4,6 @@ include ../Test.mk CC := gcc CFLAGS := -Wall -.INTERMEDIATE: $(CMD_FILE) - CMDSRC_FILE := cmd.c TARGETDIR := ../../../src INCLUDEDIR := ../../../include @@ -13,3 +11,8 @@ TESTTARGET_FILES := $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c # Set test targ $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ + +clean_cmd: + @rm -rf cmd.dSYM cmd + +clean: clean_cmd diff --git a/test/unit/getcmdcode/Makefile b/test/unit/getcmdcode/Makefile index 42ae4fb..9d22ef3 100644 --- a/test/unit/getcmdcode/Makefile +++ b/test/unit/getcmdcode/Makefile @@ -9,7 +9,12 @@ CFLAGS := -Wall CMDSRC_FILE := cmd.c TARGETDIR := ../../../src INCLUDEDIR := ../../../include -TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/cmd.c $(TARGETDIR)/exec.c $(TARGETDIR)/struct.c $(TARGETDIR)/dump.c $(TARGETDIR)/word.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c # Set test target files +TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/exec.c $(TARGETDIR)/struct.c $(TARGETDIR)/dump.c $(TARGETDIR)/word.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c # Set test target files $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ + +clean_cmd: + @rm -rf cmd.dSYM cmd + +clean: clean_cmd diff --git a/test/unit/getgr/Makefile b/test/unit/getgr/Makefile index 09a9d15..1a1f6f5 100644 --- a/test/unit/getgr/Makefile +++ b/test/unit/getgr/Makefile @@ -9,7 +9,12 @@ CFLAGS := -Wall CMDSRC_FILE := cmd.c TARGETDIR := ../../../src INCLUDEDIR := ../../../include -TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/cmd.c $(TARGETDIR)/assemble.c $(TARGETDIR)/word.c $(TARGETDIR)/label.c $(TARGETDIR)/struct.c $(TARGETDIR)/token.c $(TARGETDIR)/exec.c $(TARGETDIR)/dump.c # Set test target files +TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/assemble.c $(TARGETDIR)/word.c $(TARGETDIR)/label.c $(TARGETDIR)/struct.c $(TARGETDIR)/token.c $(TARGETDIR)/exec.c $(TARGETDIR)/dump.c # Set test target files $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ + +clean_cmd: + @rm -rf cmd.dSYM cmd + +clean: clean_cmd diff --git a/test/unit/hash/Makefile b/test/unit/hash/Makefile index 864a279..b867a52 100644 --- a/test/unit/hash/Makefile +++ b/test/unit/hash/Makefile @@ -13,4 +13,8 @@ TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ - @rm -rf cmd.dSYM + +clean_cmd: + @rm -rf cmd.dSYM cmd + +clean: clean_cmd diff --git a/test/unit/linetok/Makefile b/test/unit/linetok/Makefile index 167af4f..d83f7d6 100644 --- a/test/unit/linetok/Makefile +++ b/test/unit/linetok/Makefile @@ -9,7 +9,7 @@ CFLAGS := -g -Wall CMDSRC_FILE := cmd.c TARGETDIR := ../../../src INCLUDEDIR := ../../../include -TESTTARGET_FILES := $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/cmd.c $(TARGETDIR)/word.c $(TARGETDIR)/struct.c $(TARGETDIR)/token.c $(TARGETDIR)/hash.c $(TARGETDIR)/exec.c $(TARGETDIR)/dump.c # Set test target files +TESTTARGET_FILES := $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/word.c $(TARGETDIR)/struct.c $(TARGETDIR)/token.c $(TARGETDIR)/hash.c $(TARGETDIR)/exec.c $(TARGETDIR)/dump.c # Set test target files $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ diff --git a/test/unit/nh2word/Makefile b/test/unit/nh2word/Makefile index e57e812..c3eb357 100644 --- a/test/unit/nh2word/Makefile +++ b/test/unit/nh2word/Makefile @@ -13,3 +13,8 @@ TESTTARGET_FILES := cmd.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/w $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ + +clean_cmd: + @rm -rf cmd.dSYM cmd + +clean: clean_cmd diff --git a/test/unit/opdtok/Makefile b/test/unit/opdtok/Makefile index 445aabc..ed8ae60 100644 --- a/test/unit/opdtok/Makefile +++ b/test/unit/opdtok/Makefile @@ -9,7 +9,12 @@ CFLAGS := -Wall CMDSRC_FILE := cmd.c TARGETDIR := ../../../src INCLUDEDIR := ../../../include -TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/cmd.c $(TARGETDIR)/assemble.c $(TARGETDIR)/word.c $(TARGETDIR)/label.c $(TARGETDIR)/struct.c $(TARGETDIR)/token.c $(TARGETDIR)/exec.c $(TARGETDIR)/dump.c # Set test target files +TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/assemble.c $(TARGETDIR)/word.c $(TARGETDIR)/label.c $(TARGETDIR)/struct.c $(TARGETDIR)/token.c $(TARGETDIR)/exec.c $(TARGETDIR)/dump.c # Set test target files $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ + +clean_cmd: + @rm -rf cmd.dSYM cmd + +clean: clean_cmd diff --git a/test/unit/setcerr/Makefile b/test/unit/setcerr/Makefile index b2087fb..1bf39b9 100644 --- a/test/unit/setcerr/Makefile +++ b/test/unit/setcerr/Makefile @@ -4,8 +4,6 @@ include ../Test.mk CC := gcc CFLAGS := -Wall -.INTERMEDIATE: $(CMD_FILE) - CMDSRC_FILE := cmd.c TARGETDIR := ../../../src INCLUDEDIR := ../../../include @@ -13,3 +11,8 @@ TESTTARGET_FILES := $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c # Set test targ $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES) $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^ + +clean_cmd: + @rm -rf cmd.dSYM cmd + +clean: clean_cmd -- 2.18.0