Created main and updated Makefile

This commit is contained in:
2022-10-09 18:23:57 -05:00
parent e96c4d84b3
commit 0ba35841e9
3 changed files with 25 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#
# Pish
#
# Authors: Gregory
# Samantha
# Readme: README.md
#
all: main exec
main:
gcc -c -o build/main.o src/main.c
exec:
gcc -o bin/pish build/*.o
./bin/pish
clean:
rm build/*
Executable
BIN
View File
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
#include <stdio.h>
int main()
{
printf("Hello world\n");
}