This commit is contained in:
Justin Ethier 2015-07-17 21:42:12 -04:00
parent 3a296d89a0
commit 03c0c81edc
2 changed files with 1 additions and 2 deletions

View file

@ -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)

View file

@ -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