Commit add79ef9 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Generalize the web_ldap Makefile a bit.

parent b063f5e8
# #
# This file used under Irix (SGI) - please modify for your needs # This file used under Irix (SGI) - please modify for your needs
# #
CC = cc -signed
#CC = cc -signed
#For Optimization #For Optimization
CFLAGS= -O2 CFLAGS= -O2 $(CPPFLAGS)
#For debugging #For debugging
#CFLAGS= -g #CFLAGS= -g $(CPPFLAGS)
PREFIX=../..
# PREFIX=/usr/local
CPPFLAGS= -I$(PREFIX)/include
LDFLAGS= -L$(PREFIX)/libraries
# CC = cc $(CFLAGS) $(CPPFLAGS)
# #
# Create Executables # Create Executables
# #
web_ldap: web_ldap.o util.o web_ldap: web_ldap.o util.o
$(CC) -o web_ldap web_ldap.o util.o \ $(CC) -o web_ldap web_ldap.o util.o $(LDFLAGS) -lldap -llber
libldap.a liblber.a
# clean:
# Create Objects rm -f *.o a.out core web_ldap
#
web_ldap.o: web_ldap.c
$(CC) -c web_ldap.c
util.o: util.c
$(CC) -c util.c
#
# all done
#
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment