Delete basic-c.scm

This commit is contained in:
Mike Gran 2021-02-14 19:57:33 -08:00 committed by GitHub
parent b60a296c24
commit 15748f3cf6
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -1,17 +0,0 @@
#!/usr/bin/env sh
exec guile -s "$0" "$@"
!#
(use-modules (potato make)
(write (command-line)) (newline)
(initialize (command-line))
(write ($ CFLAGS)) (newline)
(write %suffix-rules) (newline)
;; We will rely on the built-in ".c" to ".o" rule.
(: "hello-world" '("hello-world.o")
(~ ($ CC) "-o" $@ $<))
(: "hello-world.o" '("hello-world.c")
(~ ($ CC) "-c" $<))
(execute)