URL
https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk
Subversion Repositories pcie_ds_dma
Compare Revisions
- This comparison shows the changes necessary to convert path
/pcie_ds_dma/trunk/soft/linux/application/wb_test/src
- from Rev 2 to Rev 6
- ↔ Reverse comparison
Rev 2 → Rev 6
/Makefile
12,12 → 12,28
CC = $(CROSS_COMPILE)g++ |
LD = $(CROSS_COMPILE)g++ |
|
CFLAGS := -D__LINUX__ -g -Wall -I./board -I./pex -I./work -I./utils |
LFLAGS := -Wl -ldl -lrt -lpthread |
SRCDIR := board pex work utils |
#SRCFILE := $(wildcard *.cpp) $(wildcard $(SRCDIR)/*.cpp) |
INCDIR := . \ |
../../../driver/pexdrv \ |
../../../common/board \ |
../../../common/pex \ |
../../../common/utils \ |
../../../common/dac \ |
../../../common/adc \ |
../../../common/dma |
|
INCLUDE := $(addprefix -I, $(INCDIR)) |
|
CFLAGS := -D__LINUX__ -O2 -Wall $(INCLUDE) |
LFLAGS := -Wl -ldl -lrt -lpthread -lm |
|
SRCFILE := $(wildcard *.cpp) |
SRCFILE += $(wildcard pex/*.cpp) $(wildcard board/*.cpp) $(wildcard work/*.cpp) $(wildcard utils/*.cpp) |
SRCFILE += $(wildcard ../../../common/board/*.cpp) |
SRCFILE += $(wildcard ../../../common/pex/*.cpp) |
SRCFILE += $(wildcard ../../../common/utils/*.cpp) |
#SRCFILE += $(wildcard ../../../common/dma/*.cpp) |
#SRCFILE += $(wildcard ../../../common/adc/*.cpp) |
#SRCFILE += $(wildcard ../../../common/dac/*.cpp) |
SRCFILE += $(wildcard ./work/*.cpp) |
OBJFILE := $(patsubst %.cpp,%.o, $(SRCFILE)) |
|
$(TARGET_NAME): $(OBJFILE) |