Created
September 3, 2016 11:40
-
-
Save JotaroS/31f6974866a99a085ac7b12ca4d0c644 to your computer and use it in GitHub Desktop.
Makefile for competitive programming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=g++ | |
CFLAGS=-Wall | |
.SUFFIXES = .cpp | |
objs:=$(wildcard *.cpp) | |
targets:=$(objs:.cpp= ) | |
.PHONY:all | |
all: $(targets) | |
.cpp: | |
$(CC) $(CFLAGS) -std=c++11 -o $@ $< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment