Add template

This commit is contained in:
Ivan R. 2022-11-17 17:11:40 +05:00
parent b22271aaae
commit 8641dfacf7
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
4 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,14 @@
all: lib.o main.o
gcc -Wall -o bin lib.o main.o
lib.o: lib.c
gcc -c -Wall lib.c
main.o: main.c
gcc -c -Wall main.c
run:
./bin
clean:
rm *.o bin

1
problems/template/lib.c Normal file
View file

@ -0,0 +1 @@
#include "lib.h"

1
problems/template/lib.h Normal file
View file

@ -0,0 +1 @@
#pragma once

5
problems/template/main.c Normal file
View file

@ -0,0 +1,5 @@
#include "lib.h"
int main() {
return 0;
}