Browse Source

Fix cpir-read/cxx Makefile

Ian Goldberg 2 years ago
parent
commit
584afd6bc0
1 changed files with 4 additions and 2 deletions
  1. 4 2
      cpir-read/cxx/Makefile

+ 4 - 2
cpir-read/cxx/Makefile

@@ -1,9 +1,11 @@
 CXXFLAGS = -g -march=native -std=c++17 -Wall -pedantic -fopenmp -O3 -Wno-ignored-attributes -pthread
 
-test0: 
+all: spir_test0 spir_test1
+
+spir_test1.o:
 	g++ -O3 -Wall   -c -o spir_test1.o spir_test.cpp -DPARTY=1
 
-test1: 
+spir_test0.o:
 	g++ -O3 -Wall   -c -o spir_test0.o spir_test.cpp -DPARTY=0
 
 spir_test0: spir_test0.o libspir_cxx.a