summaryrefslogtreecommitdiffstats
path: root/src/signframework/json_regression_test/makefile
diff options
context:
space:
mode:
authorChris Engel <cjengel@us.ibm.com>2017-09-18 11:24:36 -0400
committerChris Engel <cjengel@us.ibm.com>2017-09-18 11:44:05 -0400
commit0ea64ed5aa32cc8b0c54ae7f2c3b25789d664333 (patch)
treeede5a18e0cd3762861eba62adeba572cc6e91027 /src/signframework/json_regression_test/makefile
parent1683dc770b753a6cc7c8651fcbbb847b735797e8 (diff)
downloadsb-signing-framework-0ea64ed5aa32cc8b0c54ae7f2c3b25789d664333.tar.gz
sb-signing-framework-0ea64ed5aa32cc8b0c54ae7f2c3b25789d664333.zip
Initial drop of signing server framework
Diffstat (limited to 'src/signframework/json_regression_test/makefile')
-rw-r--r--src/signframework/json_regression_test/makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/signframework/json_regression_test/makefile b/src/signframework/json_regression_test/makefile
new file mode 100644
index 0000000..bd859ec
--- /dev/null
+++ b/src/signframework/json_regression_test/makefile
@@ -0,0 +1,34 @@
+# Copyright 2017 IBM Corp.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+CC=gcc
+CFLAGS=-g -std=gnu99 -Wall -pedantic -I.
+CLIB=-ljson-c
+DEPS =
+OBJ = json_test.o
+CEXEC=json_test
+
+%.o: %.c $(DEPS)
+ $(CC) -c -o $@ $< $(CFLAGS)
+
+json_test: $(OBJ)
+ gcc -o $@ $^ $(CFLAGS) $(CLIB)
+
+default: json_test
+
+all: $(CEXEC)
+
+clean:
+ rm $(CEXEC) $(OBJ)
OpenPOWER on IntegriCloud