15 lines
421 B
Makefile
15 lines
421 B
Makefile
|
LIBDIR = ../libopenjpip
|
||
|
LIBFNAME = $(LIBDIR)/libopenjpip_server.a
|
||
|
CFLAGS = -O3 -Wall -std=c99 -pedantic -m32 -DSERVER -I$(LIBDIR)
|
||
|
LDFLAGS = -L$(LIBDIR) -lm -lfcgi -lopenjpip_server
|
||
|
|
||
|
ALL = opj_server
|
||
|
|
||
|
all: $(ALL)
|
||
|
|
||
|
opj_server: opj_server.o query_parser.o channel_manager.o session_manager.o $(LIBFNAME)
|
||
|
$(CC) $(CFLAGS) $< query_parser.o channel_manager.o session_manager.o $(LDFLAGS) -o $@
|
||
|
|
||
|
clean:
|
||
|
rm -f $(ALL) *.o *~
|