summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1fca1c3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+ARCH = $(shell gcc -dumpmachine)
+CFLAGS = -fPIC -fno-strict-aliasing -W -Wall -Wextra -Wformat -Wno-uninitialized -pipe -g -O2 -DARCH=\"$(ARCH)\" -pthread
+TARGET = fsp-trace
+
+all: $(TARGET)
+
+$(TARGET): fsp-trace.c copyright.c adal_common.c adal_trace.c adal_parse.c
+ $(CC) $^ $(CFLAGS) -o $@
+
+clean distclean:
+ $(RM) $(TARGET)
OpenPOWER on IntegriCloud