snippets/c++/ndame/Makefile

17 lines
207 B
Makefile
Raw Permalink Normal View History

2010-08-17 01:22:19 +02:00
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 $<