1
0
Fork 0
mirror of https://gitlab.com/niansa/pilang2.git synced 2025-03-06 20:49:22 +01:00
pilang2/Makefile
2020-04-13 18:53:20 +02:00

21 lines
255 B
Makefile

CXX=g++
CC=gcc
CXXFLAGS=-Wextra -Os -std=c++17
LDFLAGS=-Wextra
all: obj pilang
obj:
mkdir -p obj
pilang: obj/main.o
$(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS)
obj/main.o: main.cpp
$(CXX) -c $^ -o $@ $(CXXFLAGS)
clean:
rm -Rf ./obj/
rm -f ./pilang