add notion of topdir to Makefile.lite build system

This commit is contained in:
Josh Coalson
2002-10-23 22:08:13 +00:00
parent e29fb7c84c
commit cd0e322d2d
20 changed files with 76 additions and 39 deletions

View File

@@ -2,14 +2,16 @@
# GNU makefile
#
topdir = ../..
LIB_NAME = libgetopt
INCLUDES = -I../../include -I../../include/share
INCLUDES = -I$(topdir)/include -I$(topdir)/include/share
OBJS = \
getopt.o \
getopt1.o
include ../../build/lib.mk
include $(topdir)/build/lib.mk
# Our lame Makefile.lite system has no provision for building multiple libs in
# a directory, so we hack it: