snippets/c++/ndame/Makefile
2016-04-26 10:05:35 +02:00

16 lines
207 B
Makefile

CXX = g++
CXXFLAGS = -g -Wall
OBJS = ndame.o
TARGET = dame
$(TARGET): $(OBJS)
$(CXX) -o $(TARGET) $(OBJS)
all: $(TARGET)
clean:
rm -f $(OBJS) $(TARGET)
%.o: $(SRCDIR)/%.cpp
$(CXX) $(CCXFLAGS) -c $<