URL
https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk
Subversion Repositories pcie_ds_dma
[/] [pcie_ds_dma/] [trunk/] [soft/] [linux/] [exam/] [Makefile] - Rev 6
Go to most recent revision | Compare with Previous | Blame | View Log
##change this makefile for your target...#PHONY = cleanTARGET_NAME = pex_testall: $(TARGET_NAME)ROOT_DIR = $(shell pwd)CC = $(CROSS_COMPILE)g++LD = $(CROSS_COMPILE)g++CFLAGS := -D__LINUX__ -g -Wall -I../driver/pexdrv -I../common/board -I../common/utilsLFLAGS = -Wl$(TARGET_NAME): $(patsubst %.cpp,%.o, $(wildcard *.cpp))$(LD) -o $(TARGET_NAME) $(notdir $^) $(LFLAGS)rm -f *.o *~ core%.o: %.cpp$(CC) $(CFLAGS) -c -MD $<include $(wildcard *.d)clean:rm -f *.o *~ corerm -f *.d *~ corerm -f $(TARGET_NAME)distclean:rm -f *.o *~ corerm -f *.d *~ corerm -f $(TARGET_NAME)
Go to most recent revision | Compare with Previous | Blame | View Log
