Project

General

Profile

Bug #283 » Makefile

Makefile to compile the minimal program - Raphaël Beamonte, 06/20/2012 04:12 PM

 
# OPT=-O2 -Wall
OPT=-Wall -D_GNU_SOURCE -O2 -I.
# LIB=-lccur_rt -lm
LIB=-lm -lrt -llttng-ust -llttng-ctl -ldl
TARGET=minimal
SRC=minimal.c tracepoint_ust.c

all:
gcc -o ${TARGET} ${OPT} ${LIB} ${SRC}

clean:
rm ${TARGET}
(1-1/4)