mirror of
https://github.com/krislamo/knrc.git
synced 2024-11-10 00:30:35 +00:00
20 lines
423 B
Makefile
20 lines
423 B
Makefile
all: hello mathvars c2f input count
|
|
|
|
hello: 01-hello-world.c
|
|
gcc -o ./bin/01-helloworld 01-hello-world.c
|
|
|
|
mathvars: 02-vars-and-math.c
|
|
gcc -o ./bin/02-mathvars 02-vars-and-math.c
|
|
|
|
c2f: 03-celsius-to-fahrenheit.c
|
|
gcc -o ./bin/03-c2f 03-celsius-to-fahrenheit.c
|
|
|
|
input: 04-file-copying.c
|
|
gcc -o ./bin/04-input 04-file-copying.c
|
|
|
|
count: 05-char-counting.c
|
|
gcc -o ./bin/05-count 05-char-counting.c
|
|
|
|
clean:
|
|
$(RM) ./bin/*-*
|