summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-demos/recipes-examples/peekpoke/files/Makefile
blob: 29fb5cdf02278fcfa7183197c74b5ec29cbcaf07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PEEK = peek
POKE = poke

# Add any other object files to this list below
PEEK_OBJS = peek.o
POKE_OBJS = poke.o

all: $(PEEK) $(POKE)

$(POKE): $(POKE_OBJS)
	$(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS)

$(PEEK): $(PEEK_OBJS)
	$(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS)

clean:
	-rm -f $(POKE) $(PEEK) *.elf *.gdb *.o