snippets/ndame/Makefile
2011-02-15 17:02:33 +01: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 $<