add cpp target
This commit is contained in:
parent
c785089647
commit
ff19a98df4
4
Makefile
4
Makefile
|
@ -18,6 +18,10 @@ c:
|
|||
gcc -c c/main.c -I$(OCAML_ROOT) -o $(BUILD)/main.o
|
||||
gcc -o $(BUILD)/test.exe $(BUILD)/main.o -L$(OCAML_ROOT) -L$(BUILD) -lfoo -lm -ldl -lasmrun
|
||||
|
||||
cpp:
|
||||
g++ -c c/main.cpp -I$(OCAML_ROOT) -o $(BUILD)/main.o
|
||||
g++ -o $(BUILD)/test.exe $(BUILD)/main.o -L$(OCAML_ROOT) -L$(BUILD) -lfoo -lm -ldl -lasmrun
|
||||
|
||||
run:
|
||||
$(BUILD)/test.exe
|
||||
|
||||
|
|
Loading…
Reference in a new issue