diff test/Makefile.template @ 18:cf04071d2148

impl: initial NEON support; test: verify bit shifting functions
author Paper <paper@tflc.us>
date Wed, 20 Nov 2024 14:33:19 -0500
parents 41dd962abdd1
children
line wrap: on
line diff
--- a/test/Makefile.template	Wed Nov 20 12:02:15 2024 -0500
+++ b/test/Makefile.template	Wed Nov 20 14:33:19 2024 -0500
@@ -14,7 +14,8 @@
 	../include/vec/impl/generic.h \
 	test_align.h \
 	test_arith.h \
-	test_compare.h
+	test_compare.h \
+	test_shift.h
 BINS = test-generic test-host test-cxx
 OBJS = vec-generic.o vec-host.o test.o test-cxx.o
 
@@ -22,10 +23,10 @@
 
 all: $(BINS)
 
-vec-generic.o: ../src/vec.c
+vec-generic.o: ../src/vec.c $(HEADERS)
 	$(CC) $(CFLAGS) -DVEC_SUPPRESS_HW=1 -c -o $@ $<
 
-vec-host.o: ../src/vec.c
+vec-host.o: ../src/vec.c $(HEADERS)
 	$(CC) $(CFLAGS) -c -o $@ $<
 
 test.o: test.c
@@ -40,8 +41,8 @@
 test-host: vec-host.o test.o
 	$(CC) $(LDFLAGS) -o $@ $^
 
-test-cxx: test-cxx.o
-	$(CXX) $(LDFLAGS) -o $@ $^
+test-cxx: test-cxx.o $(HEADERS)
+	$(CXX) $(LDFLAGS) -o $@ $<
 
 clean:
 	$(RM) $(BINS) $(OBJS)