Init skeleton C project
This commit is contained in:
parent
0c88f2f1f7
commit
b492770ed0
3 changed files with 18 additions and 0 deletions
2
c_impl/.gitignore
vendored
Normal file
2
c_impl/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
src/*.o
|
||||
ReciprocalOfPalindromes
|
13
c_impl/Makefile
Normal file
13
c_impl/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
CC ?= gcc
|
||||
CFLAGS ?= -Wall -Wextra -Wpedantic
|
||||
|
||||
all: ReciprocalOfPalindromes
|
||||
|
||||
ReciprocalOfPalindromes: src/main.o
|
||||
$(CC) $(CFLAGS) -o ReciprocalOfPalindromes $^
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
rm -f src/*.o
|
||||
rm -f ReciprocalOfPalindromes
|
3
c_impl/src/main.c
Normal file
3
c_impl/src/main.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
int main() {
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue