revision #1: 更新第二章中已维护的代码

This commit is contained in:
Changkun Ou
2018-04-02 00:28:05 +02:00
parent 11efa38dba
commit 838d30ef5a
28 changed files with 460 additions and 111 deletions

View File

@@ -2,21 +2,21 @@
# 1.1.cpp
#
# chapter 1 introduction
# c++1x tutorial
# modern cpp tutorial
#
# created by changkun at changkun.de
#
C = gcc
CXX = g++
CXX = clang++
SOURCE_C = foo.c
OBJECTS_C = foo.o
SOURCE_CXX = 1.1.cpp
SOURCE_CXX = 1.1.c.and.cpp
TARGET = 1.1
LDFLAGS_COMMON = -std=c++1z
TARGET = 1.1.out
LDFLAGS_COMMON = -std=c++17
all:
$(C) -c $(SOURCE_C)