diff --git a/cyclone.scm b/cyclone.scm index 97f1792f..721fe70d 100644 --- a/cyclone.scm +++ b/cyclone.scm @@ -238,7 +238,10 @@ (program? ; TODO: if there is an (import) ; (write `(DEBUG ,(lib:imports->objs (cdar in-prog) "."))) - (let ((objs-str "")) ;; TODO: populate using above (if prog) and link to objs below (will need to run 2 gcc commands) + (let ((objs-str + (if (tagged-list? 'import (car in-prog)) + TODO: lib:imports->objs;; TODO: populate using above (if prog) and link to objs below (will need to run 2 gcc commands) + ""))) (system ;; -I is a hack, real answer is to use 'make install' to place .h file ;TODO: need to link to object files from lib:import->obj-file