blob: 7c29668846ad68c8e4b84be07861d166636619b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
PROGRAM = little
OBJS = main.o
CXXFLAGS = -g
all: $(PROGRAM)
$(PROGRAM): $(OBJS)
$(CXX) -o $@ $(OBJS)
%.o: %.cpp
$(CXX) $(CXXFLAGS) -o $@ -c $<
clean:
rm $(OBJS) $(PROGRAM)
run:
./$(PROGRAM)
|