Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / common / pli / niu_pli / Makefile
CommitLineData
86530b38
AT
1#
2# Makefile
3#
4
5ifdef SIMS_64BIT
6GCC = /pkg/gnu/bin/gcc
7else
8GCC = gcc
9endif
10
11CFLAGS =
12CC = $(GCC) -g -Wparentheses -Wimplicit -W $(CFLAGS)
13FCC = g++ -L/usr/local/lib
14AR = ar -r
15
16$(VERA_LIBDIR)/%.o : %.cpp
17 $(CC) -c $< -o $@
18
19$(VERA_LIBDIR)/%.o : %.c
20 $(CC) -c $< -o $@
21
22all : $(VERA_LIBDIR)/pgRandom.o $(VERA_LIBDIR)/get_plus_args.o
23
24$(VERA_LIBDIR)/pgRandom.o : pgRandom.c
25 $(CC) -I$(VERA_HOME)/lib -o $(VERA_LIBDIR)/pgRandom.o -c pgRandom.c -fPIC $(CFLAGS)
26$(VERA_LIBDIR)/get_plus_args.o: get_plus_args.c
27 $(CC) -I$(VCS_HOME)/include -o $(VERA_LIBDIR)/get_plus_args.o -c get_plus_args.c -fPIC $(CFLAGS)
28
29clean:
30 rm -rf $(VERA_LIBDIR)/pgRandom.o $(VERA_LIBDIR)/get_plus_args.o