aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-06-19 23:27:14 -0400
committerGravatar Peter McGoron 2024-06-19 23:27:14 -0400
commitc573be476bc67892191aee937226ffcd590aa1db (patch)
treeb95137e2e5a48d5eda77a1769b3b06b836e66cc0 /Makefile
tokenizer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cc596b2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+UNIVERSAL_SERVICE_DIR=universalservice
+CFLAGS=-I${UNIVERSAL_SERVICE_DIR}/include -g -I${UNIVERSAL_SERVICE_DIR}/examples/string -std=c89 -Wall -pedantic -Werror
+LDFLAGS=-L${UNIVERSAL_SERVICE_DIR} -luniversalservice -L${UNIVERSAL_SERVICE_DIR}/examples/string -lunsstring
+
+flatrate: main.c
+ $(CC) main.c -o flatrate $(CFLAGS) $(LDFLAGS)