aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-23 21:33:05 +0100
committerMattias Andrée <m@maandree.se>2026-01-23 21:33:05 +0100
commit7487b458c22b77f30819e21bb4050c9bbf2e72ac (patch)
tree1baa4d3832b146f4d438970ec243395e278afb2e /Makefile
downloadstackdump-on-crash-7487b458c22b77f30819e21bb4050c9bbf2e72ac.tar.gz
stackdump-on-crash-7487b458c22b77f30819e21bb4050c9bbf2e72ac.tar.bz2
stackdump-on-crash-7487b458c22b77f30819e21bb4050c9bbf2e72ac.tar.xz
First commit
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..390ad73
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+.POSIX:
+
+CONFIGFILE = config.mk
+include $(CONFIGFILE)
+
+OBJ =\
+ stackdump-on-crash.o
+
+all: stackdump-on-crash
+
+.c.o:
+ $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
+
+stackdump-on-crash: $(OBJ)
+ $(CC) -o $@ $(OBJ) $(LDFLAGS)
+
+clean:
+ -rm -f -- *.o *.su stackdump-on-crash
+
+.SUFFIXES:
+.SUFFIXES: .o .c
+
+.PHONY: all clean