AnsweredAssumed Answered

makefile in the pushbutton demo

Question asked by Tricky on Jul 7, 2013
Latest reply on Jul 12, 2013 by Aaronwu

Hi:

  I was just disturbed by the makefile in the pushbutton demo.I just enter the demo directory and execute make command.

It just comes like below:

  wuzhu1.jpg

and the makefile is:

 

EXEC = gpiokeys

ROOTDIR = /home/trk/portuClinux_1

 

SDLCFLAGS := $(ROOTDIR)/staging/usr/bin/sdl-config --cflags

SDLLDLIBS := $(ROOTDIR)/staging/usr/bin/sdl-config --libs

 

CFLAGS  += -O2

LDFLAGS := $$($(SDLCFLAGS)) $$($(SDLLDLIBS))

LDLIBS  += -lSDL_gfx

 

all: $(EXEC)

gpiokeys:

    bfin-linux-uclibc-gcc $(CFLAGS) $(LDFLAGS) $(LDLIBS) gpiokeys.c -o gpiokeys

clean:

    -rm -f $(EXEC) *.elf *.gdb *.o

.PHONY: all clean

 

can anybody give some tips?

Best.

Thanks.

Outcomes