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