Created main and updated Makefile

This commit is contained in:
TriantaTV 2022-10-09 18:23:57 -05:00
parent e96c4d84b3
commit 0ba35841e9
3 changed files with 25 additions and 0 deletions

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/*

BIN
bin/pish Executable file

Binary file not shown.

6
src/main.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
int main()
{
printf("Hello world\n");
}