2016-11-02 19:02:10 +01:00
|
|
|
ifndef CC
|
|
|
|
CC=gcc
|
|
|
|
endif
|
|
|
|
|
2016-11-03 14:51:18 +01:00
|
|
|
all: controlflow.o data.o functions.o ub.o
|
2016-11-02 13:57:29 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
2016-11-03 14:51:18 +01:00
|
|
|
ub.o: ub.c
|
|
|
|
$(CC) -c ub.c
|
|
|
|
|
2016-11-02 19:02:10 +01:00
|
|
|
clean:
|
2016-11-03 14:51:18 +01:00
|
|
|
rm -rf controlflow.o data.o functions.o ub.o
|