Source

project-euler / project-euler / 154 / Makefile

Diff from to

File project-euler/154/Makefile

-all: 154.exe
+all: 154.exe 154.clang.exe 154-debug.clang.exe
 
 154.exe: euler-154.c
-	gcc -std=gnu99 -O3 -Wall -fwhole-program -flto -fvisibility=hidden -fomit-frame-pointer -march=native -fno-aggressive-loop-optimizations -o $@ $<
+	gcc -std=gnu99 -O3 -Wall -fwhole-program -flto -fvisibility=hidden -fomit-frame-pointer -march=native -o $@ $<
+
+154.clang.exe: euler-154.c
+	clang -std=gnu99 -O3 -o $@ $<
+
+154-debug.clang.exe: euler-154.c
+	clang -g -std=gnu99 -o $@ $<