$(LISP) -eval "(progn (load \"gacela_make.lisp\") (compile-gfile \"$<\" :include \"$(INC)\"))" -batch
all: $(OBJ)
- $(LISP) -eval "(progn (make-package 'gacela :nicknames '(gg) :use '(lisp)) (compiler::link '($(GCL_OBJ)) \"gacela\" \"\" \"$(LIBS)\"))" -batch
+ $(LISP) -eval "(compiler::link '($(GCL_OBJ)) \"gacela\" \"\" \"$(LIBS)\")" -batch
clean:
rm -f $(OBJ) gacela
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(eval-when (compile)
- (make-package 'gacela :nicknames '(gg) :use '(lisp))
- (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-
-;(eval-when (load)
-; (make-package 'gacela :nicknames '(gg) :use '(lisp))
-; (in-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-;(eval-when (compile) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval load) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
;;; Default values for Gacela
(defvar *width-screen* 640)
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro mapcconst (type c-type name)
(let ((c-header (concatenate 'string c-type " gacela_" name " (void)"))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro mapcconst (type c-type name)
(let ((c-header (concatenate 'string c-type " gacela_" name " (void)"))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro mapcconst (type c-type name)
(let ((c-header (concatenate 'string c-type " gacela_" name " (void)"))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro with-color (color &body code)
(cond (color
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
;;; SDL Events
(defconstant SDL_NOEVENT 0)
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
+
(defconstant INFINITY MOST-POSITIVE-LONG-FLOAT)
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-;;; Mob Factory
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
+;;; Mob Factory
(defmacro makemob (name &rest methods)
`(defun ,name (&rest args &aux (option (car args)))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defun load-font (font-file &key (size 40) (encoding ft_encoding_unicode) static)
(let* ((key (make-resource-font :filename font-file :encoding encoding))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(when (not (find-package 'gacela))
- (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+(eval-when (compile load eval)
+ (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+ (in-package 'gacela :nicknames '(gg) :use '(lisp)))
-(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
;;; Timers