makefile 822 Bytes
Newer Older
Alfonso Ramire Pedraza's avatar
Alfonso Ramire Pedraza committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
#-------------------------------------------------------------------------------
#
#
#	Notes:
#-------------------------------------------------------------------------------
APPNAME = jp2ToJPGandStretch
#Compiler:
	CC=g++

#Compiler flags
	CFLAGS=-c -g -Wall
#	INCLUIDES=$(shell pkg-config --cflags gtk+-2.0 libgnomeui-2.0)
#	LIBS=$(shell pkg-config --libs gtk+-2.0 libgnomeui-2.0)

#Directories
	DIRlib= /usr/local/lib	
	incDIR= /usr/local/include

#main function
	mainP= main
#-------------------------------------------------------------------------------
all: Project

Project: mainP.o ADT_Jasper.o
	$(CC) -o $(APPNAME) \
	ADT_Jasper.o \
	$(mainP).o \
	-L $(DIRlib) \
	-ljasper \
	-I $(incDIR)

ADT_Jasper.o: ADT_Jasper.cpp
	$(CC) $(CFLAGS) \
	ADT_Jasper.cpp


mainP.o: $(mainP).cpp
	$(CC) $(CFLAGS) \
	$(mainP).cpp