2004-05-19 00:09:58 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2005-05-10 20:20:15 +00:00
|
|
|
AS=$(CROSS_COMPILE)as
|
|
|
|
CC=$(CROSS_COMPILE)gcc
|
|
|
|
LD=$(CROSS_COMPILE)ld
|
|
|
|
AR=$(CROSS_COMPILE)ar
|
|
|
|
|
2004-12-24 23:03:47 +00:00
|
|
|
PROGRAMS = emile-set-cmdline emile-first-tune emile-install \
|
2004-12-27 21:39:19 +00:00
|
|
|
emile-set-output emile emile-map-set
|
2004-05-21 12:42:40 +00:00
|
|
|
|
2005-05-10 20:20:15 +00:00
|
|
|
CPPFLAGS = $(CROSS_COMPILE_CPPFLAGS) -DSIGNATURE="\"$(SIGNATURE)\"" -DPREFIX=\"$(PREFIX)\" -I../libemile
|
2004-12-21 15:17:37 +00:00
|
|
|
CFLAGS = -Wall -g
|
2005-05-10 20:20:15 +00:00
|
|
|
LDLIBS = $(CROSS_COMPILE_LDFLAGS) -L../libemile -lemile
|
2004-05-19 00:09:58 +00:00
|
|
|
|
2004-05-21 12:42:40 +00:00
|
|
|
all: $(PROGRAMS)
|
2004-05-21 10:23:12 +00:00
|
|
|
|
2004-12-16 23:28:43 +00:00
|
|
|
emile: emile.o emile_scanbus.o
|
|
|
|
|
2005-02-02 16:46:08 +00:00
|
|
|
emile-map-set: emile-map-set.o emile_scanbus.o
|
|
|
|
|
2004-05-19 00:09:58 +00:00
|
|
|
clean:
|
2004-05-21 12:42:40 +00:00
|
|
|
rm -f *.o $(PROGRAMS)
|