summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 86a4621..8bc8aa4 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,12 @@ default:
echo ', 0' >> tmp/identify.xxd
$(CC) $(CFLAGS) $(SRCFILE) $(LIBS)
+# tests if code compiles under gcc, clang and tcc
+cc:
+ make -e CC=gcc
+ make -e CC=tcc
+ make -e CC=clang
+
install:
mkdir -p $(DESTDIR)/usr/bin/
cp discord.c $(DESTDIR)/usr/bin/