summaryrefslogtreecommitdiff
path: root/other/Kermit/src/Makefile
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/Kermit/src/Makefile
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/Kermit/src/Makefile')
-rw-r--r--other/Kermit/src/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/other/Kermit/src/Makefile b/other/Kermit/src/Makefile
new file mode 100644
index 0000000..c5d923b
--- /dev/null
+++ b/other/Kermit/src/Makefile
@@ -0,0 +1,27 @@
1# written by palmers / teso
2include ../MakeOpt
3
4all: load unload findsym readsym writesym callsyscall
5
6load:
7 $(CXX) $(CXXFLAGS) load.cpp -o $(BIN_DIR)/load $(AR_OUT)
8
9unload:
10 $(CXX) $(CXXFLAGS) unload.cpp -o $(BIN_DIR)/unload $(AR_OUT)
11
12readsym:
13 $(CXX) $(CXXFLAGS) readsym.cpp -o $(BIN_DIR)/readsym $(AR_OUT)
14
15writesym:
16 $(CXX) $(CXXFLAGS) writesym.cpp -o $(BIN_DIR)/writesym $(AR_OUT)
17
18findsym:
19 $(CXX) $(CXXFLAGS) findsym.cpp -o $(BIN_DIR)/findsym $(AR_OUT)
20
21callsyscall:
22 $(CC) $(CFLAGS) -O2 call_syscall.c -o $(BIN_DIR)/call_syscall
23
24clean:
25 rm -rf $(BIN_DIR)/findsym $(BIN_DIR)/readsym \
26 $(BIN_DIR)/writesym $(BIN_DIR)/call_syscall \
27 $(BIN_DIR)/unload $(BIN_DIR)/load