added Makefile mpi-fractals.cc

git-svn-id: svn://anubis/gvsu@312 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
josh committed 2008-12-06 18:58:13 +00:00
1 parent f8231183be
commit 9700421226
2 files changed
+71

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
CXX := mpiCC
CXXFLAGS := `sdl-config --cflags`
LDFLAGS := `sdl-config --libs`
TARGET := mpi-fractals
OBJS := mpi-fractals.o
all: $(TARGET)
$(TARGET): $(OBJS)
$(CXX) -o $@ $^ $(LDFLAGS)
%.o: %.cc
$(CXX) -o $@ -c $< $(CXXFLAGS)
clean:
-rm -f *.o *~ $(TARGET)