Fix makefile bug for utest.

This commit is contained in:
Zhang Xianyi 2016-02-18 17:01:48 -05:00
parent 38593cd3a3
commit 3761c30ba4
1 changed files with 7 additions and 7 deletions

View File

@ -1,10 +1,10 @@
UTEST_CHECK = 1
TOPDIR = ..
TARGET=openblas_utest
UTESTBIN=openblas_utest
.PHONY : all
.NOTPARALLEL : all run_test $(TARGET)
.NOTPARALLEL : all run_test $(UTESTBIN)
include $(TOPDIR)/Makefile.system
@ -13,14 +13,14 @@ OBJS=utest_main.o test_amax.o
all : run_test
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB)
$(UTESTBIN): $(OBJS)
$(CC) $(CFLAGS) -o $@ $^ ../$(LIBNAME) $(FEXTRALIB)
run_test: $(TARGET)
./$(TARGET)
run_test: $(UTESTBIN)
./$(UTESTBIN)
clean:
-rm -f *.o $(TARGET)
-rm -f *.o $(UTESTBIN)
libs: