summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5d19a46a0298be0fd48934fda90889ad00977e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CXXFLAGS =	-g -O0 -Wall -fmessage-length=0 -fno-inline-functions -fno-inline
LIBS = -lpciaccess
TARGETS = nvexec_raw ramfc channels ramht pgraph peek poke dump dump-nonzero

all: $(TARGETS)

%.o: %.cpp nvlib.h
	$(CXX) $(CXXFLAGS) -c -o $@ $<

$(TARGETS): %: %.o
	$(CXX) -o $@ $^ $(LIBS)

clean:
	rm -f $(TARGETS) *.o