2017-10-19 21:06:21 +02:00
|
|
|
LIBS = -lm
|
|
|
|
OPTS = -O3
|
|
|
|
|
|
|
|
all: objects link finish
|
|
|
|
|
|
|
|
objects:
|
|
|
|
$(CC) $(OPTS) -c embedimage.c -o embedimage.o
|
2017-10-19 21:27:08 +02:00
|
|
|
$(CC) $(OPTS) -c extend.c -o extend.o
|
2017-10-19 21:06:21 +02:00
|
|
|
$(CC) $(OPTS) -c unu.c -o unu.o
|
|
|
|
$(CC) $(OPTS) -c muri.c -o muri.o
|
|
|
|
|
|
|
|
link:
|
|
|
|
$(CC) $(LIBS) unu.o -o unu
|
|
|
|
$(CC) $(LIBS) muri.o -o muri
|
|
|
|
$(CC) $(LIBS) embedimage.o -o embedimage
|
2017-10-19 21:27:08 +02:00
|
|
|
$(CC) $(LIBS) extend.o -o extend
|
2017-10-19 21:06:21 +02:00
|
|
|
|
|
|
|
finish:
|
|
|
|
mv embedimage ../bin
|
2017-10-19 21:27:08 +02:00
|
|
|
mv extend ../bin
|
2017-10-19 21:06:21 +02:00
|
|
|
mv unu ../bin
|
|
|
|
mv muri ../bin
|
|
|
|
rm *.o
|