You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
GCC=gcc -g |
|
|
|
.PHONY default: build |
|
|
|
build: util run read main |
|
$(GCC) main.o read.o run.o util.o -o chicken |
|
|
|
main: main.c |
|
$(GCC) -c main.c |
|
|
|
read: read.c read.h |
|
$(GCC) -c read.c |
|
|
|
run: run.c run.h |
|
$(GCC) -c run.c |
|
|
|
util: util.c util.h |
|
$(GCC) -c util.c
|
|
|