diff --git a/Makefile b/Makefile index d5d1abc5..3a346e61 100644 --- a/Makefile +++ b/Makefile @@ -173,7 +173,6 @@ clean: rm -rf a.out *.o *.so *.a *.out tags cyclone icyc scheme/*.o scheme/*.c $(foreach f,$(TESTSCM), rm -rf $(f) $(f).c tests/$(f).c;) -#install: all install: $(MKDIR) $(DESTDIR)$(BINDIR) $(MKDIR) $(DESTDIR)$(LIBDIR) diff --git a/Makefile-bootstrap b/Makefile-bootstrap index fdd6ce69..576cb4ae 100644 --- a/Makefile-bootstrap +++ b/Makefile-bootstrap @@ -20,7 +20,7 @@ all: cyclone icyc unit-tests libcyclone.a: runtime.c runtime.h dispatch.c $(CC) -g -c dispatch.c -o dispatch.o - $(CC) -g -c runtime.c -o runtime.o + $(CC) -g -c -DCYC_INSTALL_DIR=\"$(PREFIX)\" runtime.c -o runtime.o $(AR) rcs libcyclone.a runtime.o dispatch.o cyclone: $(COBJECTS) libcyclone.a