summaryrefslogtreecommitdiffstats
path: root/src/usr/example/makefile
blob: 608aacc8727e6a5ed1e0f2e2243d17c376fd8322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ROOTPATH = ../../..
OBJDIR = ${ROOTPATH}/obj/modules/example
IMGDIR = ${ROOTPATH}/img
EXTRACOMMONFLAGS = -fPIC

OBJS = example.o
OBJECTS = $(addprefix ${OBJDIR}/, ${OBJS})
LIBS = libexample.so
LIBRARIES = $(addprefix ${IMGDIR}/, ${LIBS})

all: ${OBJECTS} ${LIBRARIES}

clean:
	(rm -f ${OBJECTS} ${LIBRARIES} )

include ${ROOTPATH}/config.mk
OpenPOWER on IntegriCloud