; -*-Lisp-*-

; Use with:
; (add-hook 'find-file-hooks
;           (lambda ()
;             (load (concat default-directory "emacs-local") t)))

(if
    (string-match "\\.[ch]$" (buffer-file-name (current-buffer)))
    (progn
      (make-local-variable 'compile-command)
      (setq compile-command "make -k 'CFLAGS=-g -Wall'")
))
