2016-11-02 19:02:10 +01:00
|
|
|
ifndef CC
|
|
|
|
CC=gcc
|
|
|
|
endif
|
|
|
|
|
2016-11-02 13:57:29 +01:00
|
|
|
|
|
|
|
all: controlflow.o data.o functions.o uninit.o
|
|
|
|
|
|
|
|
controlflow.o: controlflow.c
|
2016-11-02 19:02:10 +01:00
|
|
|
$(CC) -c controlflow.c
|
2016-11-02 13:57:29 +01:00
|
|
|
|
|
|
|
data.o: data.c
|
2016-11-02 19:02:10 +01:00
|
|
|
$(CC) -c data.c
|
2016-11-02 13:57:29 +01:00
|
|
|
|
|
|
|
functions.o: functions.c
|
2016-11-02 19:02:10 +01:00
|
|
|
$(CC) -c functions.c
|
2016-11-02 13:57:29 +01:00
|
|
|
|
|
|
|
uninit.o: uninit.c
|
2016-11-02 19:02:10 +01:00
|
|
|
$(CC) -std=gnu99 -c uninit.c
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf controlflow.o data.o functions.o uninit.o
|