diff options
| author | Tor Aamodt <[email protected]> | 2010-07-15 18:09:46 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-07-15 18:09:46 -0800 |
| commit | 69f2911e04ffb1b19eef1fafb8c040af271f656e (patch) | |
| tree | 231d3b6bdc3a202f7c255bfcf7bf2c36e32cee9e /benchmarks/CUDA/CP/common/src/Makefile | |
creating branch for adding support for CUDA 3.x and Fermi
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829]
Diffstat (limited to 'benchmarks/CUDA/CP/common/src/Makefile')
| -rw-r--r-- | benchmarks/CUDA/CP/common/src/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/benchmarks/CUDA/CP/common/src/Makefile b/benchmarks/CUDA/CP/common/src/Makefile new file mode 100644 index 0000000..74822e2 --- /dev/null +++ b/benchmarks/CUDA/CP/common/src/Makefile @@ -0,0 +1,23 @@ +# (c) 2007 The Board of Trustees of the University of Illinois. + +SRCDIR=$(shell pwd) +BUILDDIR=$(shell pwd)/../lib + +include $(PARBOIL_ROOT)/common/mk/common.mk +include $(PARBOIL_ROOT)/common/mk/cuda.mk + +OBJS=$(BUILDDIR)/parboil.o +TARGET=$(BUILDDIR)/libparboil.a + +all : $(TARGET) + +clean: + rm -f $(OBJS) $(TARGET) + +$(BUILDDIR)/%.o : $(SRCDIR)/%.c + $(CC) -c $(CFLAGS) $^ -o $@ + +$(TARGET) : $(OBJS) + $(AR) rc $@ $? + $(RANLIB) $@ + |
