added Makefile mpi-fractals.cc
git-svn-id: svn://anubis/gvsu@312 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
1 parent
f8231183be
commit
9700421226
2 files changed
+71
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user