xinyangli
4c540bd109
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 9s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 20s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 9s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 8s
Build npc tests / npc-build (flow) (push) Successful in 8s
Build npc tests / npc-build (flow-simlib) (push) Successful in 9s
9 lines
188 B
Makefile
9 lines
188 B
Makefile
TEST_SRCS +=
|
|
|
|
$(OBJ_DIR)/%: %.c $(TEST_OBJS) app
|
|
@mkdir -p $(dir $@)
|
|
@echo + CC $<
|
|
@$(CC) $(CFLAGS) -o $@.o -c $<
|
|
@echo + LD $@
|
|
@$(LD) $(LIBS) $(LDFLAGS) -o $@ $(TEST_OBJS) $@.o
|
|
@$@
|