aboutsummaryrefslogtreecommitdiff
path: root/target.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target.mk')
-rw-r--r--target.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/target.mk b/target.mk
new file mode 100644
index 0000000..2d3e61e
--- /dev/null
+++ b/target.mk
@@ -0,0 +1,8 @@
+# See LICENSE file for copyright and license details.
+
+bin/archive/string2.o: src/string2.c
+ ${CC} ${CFLAGS} -c src/string2.c -o $@
+
+bin/shared/string2.o: src/string2.c
+ ${CC} ${CFLAGS} -fPIC -c src/string2.c -o $@
+