Remove legacy build system
This commit is contained in:
parent
876a0e392e
commit
5100d5603f
18 changed files with 0 additions and 3285 deletions
|
|
@ -1,61 +0,0 @@
|
|||
####
|
||||
#### This Makefile should be used in the Linux Compiler build. This Makefile build the OSDependent
|
||||
#### component as a static library.
|
||||
####
|
||||
|
||||
#
|
||||
# Compilation related
|
||||
#
|
||||
INCLUDE = -I. -I../.. -I../../Include -I../../../OGLCompilersDLL
|
||||
WARNINGS = -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes \
|
||||
-Wnested-externs
|
||||
|
||||
CPP = g++
|
||||
CPPOPTIONS = -O3 -Wno-deprecated -D_ALT_NS=1 -fPIC
|
||||
CPPOPTIONS = -g -Wno-deprecated -D_ALT_NS=1 -fPIC
|
||||
CPPFLAGS = $(CPPOPTIONS) $(INCLUDE)
|
||||
|
||||
#
|
||||
# Linking related
|
||||
#
|
||||
AR = ar
|
||||
STATIC_OPTION = rcs
|
||||
|
||||
#
|
||||
# Misc
|
||||
#
|
||||
export PERL = perl
|
||||
export RM = rm -f
|
||||
export MV = mv -f
|
||||
export DEPEND = g++ -M
|
||||
|
||||
#
|
||||
# Object file variables are defined here.
|
||||
#
|
||||
OSSRCS = ossource.cpp
|
||||
OSOBJS = ossource.o
|
||||
|
||||
LIBNAME = libOssource.a
|
||||
|
||||
all : $(LIBNAME)
|
||||
|
||||
$(LIBNAME) : $(OSOBJS)
|
||||
$(AR) $(STATIC_OPTION) $(LIBNAME) $(OSOBJS)
|
||||
|
||||
%.o : %.cpp
|
||||
$(CPP) $(CPPFLAGS) -c $<
|
||||
|
||||
|
||||
#
|
||||
# Dependency
|
||||
#
|
||||
depend : $(OSSRCS)
|
||||
$(DEPEND) $(CPPFLAGS) $(OSSRCS) > depend
|
||||
include depend
|
||||
|
||||
#
|
||||
# Cleanup
|
||||
#
|
||||
.PHONY : clean
|
||||
clean :
|
||||
$(RM) *.o *.a
|
||||
Loading…
Add table
Add a link
Reference in a new issue