15 lines
256 B
Makefile
15 lines
256 B
Makefile
OBJS := aldl.o aldl_pi.o sdldash.o
|
|
LDFLAGS := -lSDL2 -lSDL2_ttf -lwiringPi -lpthread
|
|
CFLAGS := -Wall -DPOLLING
|
|
|
|
# The ALDL datastream we want
|
|
OBJS += a179.o
|
|
|
|
all: aldl_pi
|
|
|
|
aldl_pi: $(OBJS)
|
|
gcc -o $@ $? $(LDFLAGS) $(CFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OBJS) aldl_pi
|