1 CROSS_COMPILE ?= arm-none-linux-gnueabi-
2 CC = $(CROSS_COMPILE)gcc
8 BIN = op_runfbapp op_gammatool op_gammatable op_test_inputs ofbset
15 op_runfbapp: LDFLAGS += -lpthread -lX11
16 op_test_inputs: LDFLAGS += -lpthread -lts
17 op_gammatable: LDFLAGS += -lm
22 install: $(INSTALL) $(BIN)
23 cp op_runfbapp $(INSTALL)/
24 cp op_gammatool $(INSTALL)/op_gammatool_bin
25 cp op_gammatable $(INSTALL)/
26 cp op_test_inputs $(INSTALL)/op_test_inputs_bin
28 cp scripts/op_gammatool $(INSTALL)/
29 cp scripts/op_test_inputs $(INSTALL)/
32 $(CC) -Wall -O2 -DVALIDATION -s op_test_inputs.c -o op_test_inputs -Wl,-Bstatic -lpthread -lc -Wl,-Bdynamic -lts