summaryrefslogtreecommitdiff
path: root/Base/home/anon/Source/little/Makefile
blob: cbf60c9ce30f9cbad927df99706c5c4a5500c586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PROGRAM = little
OBJS = main.o other.o
CXXFLAGS = -g -std=c++2a

all: $(PROGRAM)

$(PROGRAM): $(OBJS)
	$(CXX) -o $@ $(OBJS)

%.o: %.cpp
	$(CXX) $(CXXFLAGS) -o $@ -c $< 

clean:
	rm $(OBJS) $(PROGRAM)

run:
	./$(PROGRAM)