Skip to content

Commit

Permalink
Makefile: Fix 'make test'
Browse files Browse the repository at this point in the history
make test tried to execute the test for cJSON_Utils, which has been
ported to CUnity tests.
  • Loading branch information
FSMaxB committed Aug 21, 2017
1 parent 88d66c5 commit 76b7055
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ shared: $(CJSON_SHARED) $(UTILS_SHARED)

static: $(CJSON_STATIC) $(UTILS_STATIC)

tests: $(CJSON_TEST) $(UTILS_TEST)
tests: $(CJSON_TEST)

test: tests
./$(CJSON_TEST)
./$(UTILS_TEST)

.c.o:
$(CC) -c $(R_CFLAGS) $<
Expand Down Expand Up @@ -150,4 +149,4 @@ clean:
$(RM) $(CJSON_OBJ) $(UTILS_OBJ) #delete object files
$(RM) $(CJSON_SHARED) $(CJSON_SHARED_VERSION) $(CJSON_SHARED_SO) $(CJSON_STATIC) #delete cJSON
$(RM) $(UTILS_SHARED) $(UTILS_SHARED_VERSION) $(UTILS_SHARED_SO) $(UTILS_STATIC) #delete cJSON_Utils
$(RM) $(CJSON_TEST) $(UTILS_TEST) #delete tests
$(RM) $(CJSON_TEST) #delete test

0 comments on commit 76b7055

Please sign in to comment.