summaryrefslogtreecommitdiffstats
path: root/src/usr/example/makefile
blob: 73642a088a245630e44fba6913026dceea152236 (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} $(addsuffix .hash, ${OBJECTS}) ${LIBRARIES} )

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