Mercurial > vec
comparison 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 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 17:41dd962abdd1 | 18:cf04071d2148 | 
|---|---|
| 12 ../include/vec/impl/cpu.h \ | 12 ../include/vec/impl/cpu.h \ | 
| 13 ../include/vec/impl/fallback.h \ | 13 ../include/vec/impl/fallback.h \ | 
| 14 ../include/vec/impl/generic.h \ | 14 ../include/vec/impl/generic.h \ | 
| 15 test_align.h \ | 15 test_align.h \ | 
| 16 test_arith.h \ | 16 test_arith.h \ | 
| 17 test_compare.h | 17 test_compare.h \ | 
| 18 test_shift.h | |
| 18 BINS = test-generic test-host test-cxx | 19 BINS = test-generic test-host test-cxx | 
| 19 OBJS = vec-generic.o vec-host.o test.o test-cxx.o | 20 OBJS = vec-generic.o vec-host.o test.o test-cxx.o | 
| 20 | 21 | 
| 21 .PHONY: all clean test | 22 .PHONY: all clean test | 
| 22 | 23 | 
| 23 all: $(BINS) | 24 all: $(BINS) | 
| 24 | 25 | 
| 25 vec-generic.o: ../src/vec.c | 26 vec-generic.o: ../src/vec.c $(HEADERS) | 
| 26 $(CC) $(CFLAGS) -DVEC_SUPPRESS_HW=1 -c -o $@ $< | 27 $(CC) $(CFLAGS) -DVEC_SUPPRESS_HW=1 -c -o $@ $< | 
| 27 | 28 | 
| 28 vec-host.o: ../src/vec.c | 29 vec-host.o: ../src/vec.c $(HEADERS) | 
| 29 $(CC) $(CFLAGS) -c -o $@ $< | 30 $(CC) $(CFLAGS) -c -o $@ $< | 
| 30 | 31 | 
| 31 test.o: test.c | 32 test.o: test.c | 
| 32 $(CC) $(CFLAGS) -c -o $@ $< | 33 $(CC) $(CFLAGS) -c -o $@ $< | 
| 33 | 34 | 
| 38 $(CC) $(LDFLAGS) -o $@ $^ | 39 $(CC) $(LDFLAGS) -o $@ $^ | 
| 39 | 40 | 
| 40 test-host: vec-host.o test.o | 41 test-host: vec-host.o test.o | 
| 41 $(CC) $(LDFLAGS) -o $@ $^ | 42 $(CC) $(LDFLAGS) -o $@ $^ | 
| 42 | 43 | 
| 43 test-cxx: test-cxx.o | 44 test-cxx: test-cxx.o $(HEADERS) | 
| 44 $(CXX) $(LDFLAGS) -o $@ $^ | 45 $(CXX) $(LDFLAGS) -o $@ $< | 
| 45 | 46 | 
| 46 clean: | 47 clean: | 
| 47 $(RM) $(BINS) $(OBJS) | 48 $(RM) $(BINS) $(OBJS) | 
| 48 | 49 | 
| 49 test: clean $(BINS) | 50 test: clean $(BINS) | 
