Skip to content

Commit

Permalink
* initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kahl committed Jun 7, 2009
0 parents commit 3859aca
Show file tree
Hide file tree
Showing 11 changed files with 714 additions and 0 deletions.
Empty file added AUTHORS
Empty file.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

Empty file added ChangeLog
Empty file.
Empty file added NEWS
Empty file.
23 changes: 23 additions & 0 deletions test/simple-1/Evolution
@@ -0,0 +1,23 @@
;; -*- mode: lisp -*-
(asdf:oos 'asdf:load-op :evol)

(defparameter *cc* "cc")
(defparameter *objects* '("main.o" "program.o"))

(defun do-objects ()
(mapc #'(lambda (pathname)
(external-program:run *cc* (list "-c" "-o" pathname (evol:pathname-change-suffix "c" pathname))
:output *standard-output*))
*objects*))

(defun do-main ()
(do-objects)
(external-program:run *cc* `(,@*objects* "-o" "main")
:output *standard-output*))

(defun do-all ()
(do-main))

(defun do-clean ()
(external-program:run "rm" `("-f" ,@*objects* "main")
:output *standard-output*))
12 changes: 12 additions & 0 deletions test/simple-1/Makefile
@@ -0,0 +1,12 @@
CC = cc
OBJECTS = main.o program.o

all: main

$(OBJECTS):
cc ${CFLAGS} -c -o $@ $(@:.o=.c)

main: $(OBJECTS)

clean:
rm -f $(OBJECTS) main
Binary file added test/simple-1/main
Binary file not shown.
5 changes: 5 additions & 0 deletions test/simple-1/main.c
@@ -0,0 +1,5 @@
int
main (int argc, char **argv)
{
return 0;
}
Binary file added test/simple-1/main.o
Binary file not shown.
Empty file added test/simple-1/program.c
Empty file.
Binary file added test/simple-1/program.o
Binary file not shown.

0 comments on commit 3859aca

Please sign in to comment.