mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-26 21:04:24 +08:00
Makefile: Fix 'make test'
make test tried to execute the test for cJSON_Utils, which has been ported to CUnity tests.
This commit is contained in:
parent
88d66c5da9
commit
76b705576f
5
Makefile
5
Makefile
@ -66,11 +66,10 @@ shared: $(CJSON_SHARED) $(UTILS_SHARED)
|
|||||||
|
|
||||||
static: $(CJSON_STATIC) $(UTILS_STATIC)
|
static: $(CJSON_STATIC) $(UTILS_STATIC)
|
||||||
|
|
||||||
tests: $(CJSON_TEST) $(UTILS_TEST)
|
tests: $(CJSON_TEST)
|
||||||
|
|
||||||
test: tests
|
test: tests
|
||||||
./$(CJSON_TEST)
|
./$(CJSON_TEST)
|
||||||
./$(UTILS_TEST)
|
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -c $(R_CFLAGS) $<
|
$(CC) -c $(R_CFLAGS) $<
|
||||||
@ -150,4 +149,4 @@ clean:
|
|||||||
$(RM) $(CJSON_OBJ) $(UTILS_OBJ) #delete object files
|
$(RM) $(CJSON_OBJ) $(UTILS_OBJ) #delete object files
|
||||||
$(RM) $(CJSON_SHARED) $(CJSON_SHARED_VERSION) $(CJSON_SHARED_SO) $(CJSON_STATIC) #delete cJSON
|
$(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) $(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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user