2010-11-03 17:10:12 +01:00
|
|
|
linenoise_example: linenoise.h linenoise.c
|
|
|
|
|
|
|
|
linenoise_example: linenoise.o example.o
|
2010-11-08 12:53:36 +01:00
|
|
|
$(CC) $(ARCH) -Wall -W -Os -g -o linenoise_example linenoise.o example.o
|
2010-11-03 17:10:12 +01:00
|
|
|
|
|
|
|
.c.o:
|
2010-11-08 12:53:36 +01:00
|
|
|
$(CC) $(ARCH) -c -Wall -W -Os -g $<
|
2010-11-03 17:10:12 +01:00
|
|
|
|
|
|
|
clean:
|
2010-11-08 12:53:36 +01:00
|
|
|
rm -f linenoise_example *.o
|