cs205-lecture-examples

Example codes used during Harvard CS205 lectures
git clone https://git.0xfab.ch/cs205-lecture-examples.git
Log | Files | Refs | README | LICENSE

Makefile (226B)


      1 CXX = g++
      2 CXXFLAGS = -g -Wall -Wextra -Wpedantic
      3 LIBS = -lpapi
      4 
      5 .PHONY: clean
      6 
      7 test: test.cpp kernel.s
      8 	$(CXX) -O2 -I$(SHARED_DATA)/local/include -L$(SHARED_DATA)/local/lib \
      9 		$(CXXFLAGS) -o $@ $^ $(LIBS)
     10 
     11 clean:
     12 	rm -f test