Updated Toy, added repl_tools and lib copying to the build
This commit is contained in:
@@ -25,12 +25,16 @@ else
|
||||
exit 1
|
||||
endif
|
||||
|
||||
library: $(OBJ)
|
||||
library: libs $(OBJ)
|
||||
$(CC) -DCORE_EXPORT $(CFLAGS) -shared -o $(OUT) $(LIBLINE) -L../$(LIBDIR) $(LIBS)
|
||||
|
||||
static: $(OBJ)
|
||||
static: libs $(OBJ)
|
||||
ar crs $(CORE_OUTDIR)/lib$(OUTNAME).a $(OBJ) -L../$(LIBDIR) $(LIBS)
|
||||
|
||||
libs:
|
||||
cp ../Toy/repl/lib* .
|
||||
cp ../Toy/repl/repl_tools.* .
|
||||
|
||||
$(OBJ): | $(ODIR)
|
||||
|
||||
$(ODIR):
|
||||
|
||||
Reference in New Issue
Block a user