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.
25 lines
339 B
25 lines
339 B
GCC=gcc -g -lreadline |
|
|
|
.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 |
|
|
|
array: erray.c erray.h |
|
$(GCC) -c erray.c |
|
|
|
clean: |
|
rm chicken |
|
rm *.o
|
|
|