Start working on codegen implementation in C
This commit is contained in:
7
Makefile
7
Makefile
@@ -43,9 +43,9 @@ ifeq ($(CC),gcc)
|
||||
export ASAN_OPTIONS=verify_asan_link_order=0
|
||||
endif
|
||||
|
||||
.PHONY: help full prng testing uuid core primitives all clean builddir build-test run-test codegen install build-lib
|
||||
.PHONY: help full prng testing uuid core primitives all clean builddir build-test run-test codegen install build-lib ccodegen
|
||||
|
||||
all: clean builddir codegen run-c-test full run-cc-test
|
||||
all: clean builddir codegen run-c-test full run-cc-test ccodegen
|
||||
|
||||
help:
|
||||
@echo "Available build variables:"
|
||||
@@ -126,3 +126,6 @@ build-lib: builddir
|
||||
$(CC) -c $(CSTD) $(CFLAGS) $(LIBFLAGS) $(LIB_SRC) -o $(OBJ_OUT)
|
||||
$(AR) r $(LIB_OUT) $(OBJ_OUT)
|
||||
@rm $(OBJ_OUT)
|
||||
|
||||
ccodegen:
|
||||
$(CC) $(CSTD) $(CFLAGS) $(LIBFLAGS) -Isrc/core src/core/wapp_core.c ccodegen/*.c -o ccgen
|
||||
|
Reference in New Issue
Block a user