Create minimal C Project
This commit is contained in:
parent
11500fefed
commit
986c04053e
2 changed files with 12 additions and 0 deletions
5
runtime/Makefile
Normal file
5
runtime/Makefile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
CC=gcc
|
||||
CFLAGS=-I.
|
||||
|
||||
salruntime: salruntime.c
|
||||
$(CC) -o $@ $^ $(CFLAGS)
|
||||
7
runtime/salruntime.c
Normal file
7
runtime/salruntime.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("Hello, world!");
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue