summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbryan <bryan@veltar.systems>2026-08-26 11:47:10 +0200
committerbryan <bryan@veltar.systems>2026-08-26 11:47:10 +0200
commit002742ad5b1fd76d539c2fb8736622e63e757f98 (patch)
tree483347bf0263b0b463dc8b116f90e1332edd1c3e /Makefile
downloadprtmib-002742ad5b1fd76d539c2fb8736622e63e757f98.tar.gz
prtmib-002742ad5b1fd76d539c2fb8736622e63e757f98.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0bc4f23
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+.POSIX:
+
+include config.mk
+
+HDR = config.h
+SRC = prtmib.c
+
+all: prtmib$(EXE)
+
+prtmib$(EXE): $(SRC) $(HDR)
+ $(CC) $(CFLAGS) -o $@ $(SRC) $(LDFLAGS)
+
+clean:
+ -$(RM) prtmib$(EXE)
+
+.PHONY: all clean