diff options
author | Alberto <alberto.ruiz@codethink.co.uk> | 2011-09-30 16:00:35 +0100 |
---|---|---|
committer | Alberto <alberto.ruiz@codethink.co.uk> | 2011-09-30 16:00:35 +0100 |
commit | 4fa0b0dbfb90b042a7633d7c69e592263cf2d179 (patch) | |
tree | 3e6d85739ec07df3f626d042ba30517f93a294a1 | |
parent | cffbebcd9accf9898315bc281968a89ef5cbd4d3 (diff) | |
download | tbdiff-4fa0b0dbfb90b042a7633d7c69e592263cf2d179.tar.gz |
No mention to OTAP in the file structure
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | libtdb_apply.c (renamed from otap_apply.c) | 0 | ||||
-rw-r--r-- | libtdb_create.c (renamed from otap_create.c) | 0 | ||||
-rw-r--r-- | tbdiff_create.c (renamed from create.c) | 2 | ||||
-rw-r--r-- | tbdiff_deploy.c (renamed from deploy.c) | 0 |
5 files changed, 5 insertions, 7 deletions
@@ -12,20 +12,18 @@ CFLAGS += -g CFLAGS += -Wall -Wextra -Werror $(OPT) SHARED_SRC := stat.c -DEPLOY_SRC := deploy.c otap_apply.c -CREATE_SRC := create.c otap_create.c +DEPLOY_SRC := tbdiff_deploy.c libtdb_create.c +CREATE_SRC := tbdiff_create.c libtdb_apply.c DEPLOY_OBJ := $(patsubst %.c,%.o,$(SHARED_SRC) $(DEPLOY_SRC)) CREATE_OBJ := $(patsubst %.c,%.o,$(SHARED_SRC) $(CREATE_SRC)) - - all: $(DEPLOY) $(CREATE) -$(DEPLOY): deploy.o otap_apply.o stat.o +$(DEPLOY): tbdiff_deploy.o libtdb_apply.o stat.o $(CC) $(LDFLAGS) -o $@ $^ -$(CREATE): create.o otap_create.o stat.o +$(CREATE): tbdiff_create.o libtdb_create.o stat.o $(CC) $(LDFLAGS) -o $@ $^ %.o: %.c diff --git a/otap_apply.c b/libtdb_apply.c index 8c18b4a..8c18b4a 100644 --- a/otap_apply.c +++ b/libtdb_apply.c diff --git a/otap_create.c b/libtdb_create.c index bca0550..bca0550 100644 --- a/otap_create.c +++ b/libtdb_create.c diff --git a/create.c b/tbdiff_create.c index 1a665cb..599c368 100644 --- a/create.c +++ b/tbdiff_create.c @@ -47,7 +47,7 @@ main(int argc, return EXIT_FAILURE; } - if (chdir(cwd_buff) != 0) { + if(chdir(cwd_buff) != 0) { fprintf(stderr, "Error: Unable to return to '%s'.\n", cwd_buff); return EXIT_FAILURE; } diff --git a/deploy.c b/tbdiff_deploy.c index c2d49ec..c2d49ec 100644 --- a/deploy.c +++ b/tbdiff_deploy.c |