summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2c74dd58fb509c974d44e7bc4a0263d0d55f9b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CXXFLAGS =	--std=c++0x -g -O0 -Wall -fmessage-length=0 -fno-inline-functions -fno-inline
LIBS = -lpciaccess
TARGETS = nvexec_raw ramht ramin ramfc channels 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