OpenCores
URL https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk

Subversion Repositories pcie_ds_dma

[/] [pcie_ds_dma/] [trunk/] [soft/] [linux/] [driver/] [pexdrv/] [exam/] [Makefile] - Diff between revs 6 and 54

Only display areas with differences | Details | Blame | View Log

Rev 6 Rev 54
#
#
#change this makefile for your target...
#change this makefile for your target...
#
#
PHONY = clean
PHONY = clean
TARGET_NAME = pex_test
TARGET_NAME = pex_test
all: $(TARGET_NAME)
all: $(TARGET_NAME)
ROOT_DIR = $(shell pwd)
ROOT_DIR = $(shell pwd)
CC = $(CROSS_COMPILE)g++
CC = $(CROSS_COMPILE)g++
LD = $(CROSS_COMPILE)g++
LD = $(CROSS_COMPILE)g++
CFLAGS := -D__LINUX__ -g -Wall -I.. -I../../../common/utils -I../../../common/board
CFLAGS := -D__LINUX__ -g -Wall -I.. -I../../../common/utils -I../../../common/board
LFLAGS = -Wl
LFLAGS =
 
 
$(TARGET_NAME): $(patsubst %.cpp,%.o, $(wildcard *.cpp))
$(TARGET_NAME): $(patsubst %.cpp,%.o, $(wildcard *.cpp))
        $(LD) $(LFLAGS) $(notdir $^) -o $(TARGET_NAME)
        $(LD) $(notdir $^) -o $(TARGET_NAME) $(LFLAGS)
        rm -f *.o *~ core
        rm -f *.o *~ core
%.o: %.cpp
%.o: %.cpp
        $(CC) $(CFLAGS) -c -MD $<
        $(CC) $(CFLAGS) -c -MD $<
include $(wildcard *.d)
include $(wildcard *.d)
clean:
clean:
        rm -f *.o *~ core
        rm -f *.o *~ core
        rm -f *.d *~ core
        rm -f *.d *~ core
        rm -f $(TARGET_NAME)
        rm -f $(TARGET_NAME)
distclean:
distclean:
        rm -f *.o *~ core
        rm -f *.o *~ core
        rm -f *.d *~ core
        rm -f *.d *~ core
        rm -f $(TARGET_NAME)
        rm -f $(TARGET_NAME)
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.