Decided to move brainstorming.md into a separate folder for brainstorming notes so...
[obfuscated-c] / 001 / Makefile
CommitLineData
a9f8147c
AT
1#############################################################
2# (c) 2020 Aaron Taylor <ataylor at subgeniuskitty dot com> #
3# See LICENSE.txt file for copyright and license details. #
4#############################################################
5
84b619fe
AT
6# Uncomment these lines to use GCC.
7CC := gcc
8CC_OPTS := -trigraphs -w
9
10# Uncomment these lines to use Clang.
11#CC := cc
12#CC_OPTS := -trigraphs -Wno-everything
13
a9f8147c 14#############################################################
84b619fe
AT
15
16all:
17 @$(CC) $(CC_OPTS) -o main main.c
18
19clean:
20 @rm -f main main.core
21
22run: all
23 @./main