OpenCores
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] - Diff between revs 2 and 6

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 6
Line 10... Line 10...
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../driver/pexdrv -I../common/board
CFLAGS := -D__LINUX__ -g -Wall -I../driver/pexdrv -I../common/board -I../common/utils
LFLAGS = -Wl
LFLAGS = -Wl
 
 
$(TARGET_NAME): $(patsubst %.cpp,%.o, $(wildcard *.cpp))
$(TARGET_NAME): $(patsubst %.cpp,%.o, $(wildcard *.cpp))
        $(LD) $(LFLAGS) $(notdir $^) -o $(TARGET_NAME)
        $(LD) -o $(TARGET_NAME) $(notdir $^) $(LFLAGS)
        rm -f *.o *~ core
        rm -f *.o *~ core
 
 
%.o: %.cpp
%.o: %.cpp
        $(CC) $(CFLAGS) -c -MD $<
        $(CC) $(CFLAGS) -c -MD $<
 
 

powered by: WebSVN 2.1.0

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