📄 makefile.aix
字号:
# $VER: fpl.library makefile v2.0 93-03-25######################################################################### ## fpl.library - A shared library interpreting script langauge. ## Copyright (C) 1992-1994 FrexxWare ## Author: Daniel Stenberg ## ## This program is free software; you may redistribute for non ## commercial purposes only. Commercial programs must have a written ## permission from the author to use FPL. FPL is *NOT* public domain! ## Any provided source code is only for reference and for assurance ## that users should be able to compile FPL on any operating system ## he/she wants to use it in! ## ## You may not change, resource, patch files or in any way reverse ## engineer anything in the FPL package. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ## ## Daniel Stenberg ## Ankdammsgatan 36, 4tr ## S-171 43 Solna ## Sweden ## ## FidoNet 2:201/328 email:dast@sth.frontec.se ## #########################################################################.SUFFIXES: .o .c .c~ .h .h~ .a .i################################################# Below follows all UNIX macros/actions/lines: #################################################LIB = libfpl.aTARGET = FPLEXPORT = fpl.expOBJS = script.o numexpr.o caller.o hash.o statement.o memory.o frontend.o reference.oLIBOBJS = script.o numexpr.o hash.o statement.o memory.o frontend.o reference.oLIBDEP = $(LIBOBJS) $(EXPORT)TEMP = templib.o# if using the `xlc' compiler:CFLAGS = -DUNIX -DSHAREDCC = xlc#CC = ccLD = ldAR = arARFLAGS = rv# if using the GNU `gcc' compiler:# CFLAGS = -DUNIX -DSHARED -DDEBUG -ansi# CC = gccall: $(LIB) SFPL$(LIB) : $(LIBDEP) $(LD) $(LIBOBJS) -o $(TEMP) -bE:$(EXPORT) -bM:SRE -T512 -H512 -lc rm -f $(LIB) $(AR) $(ARFLAGS) $(LIB) $(TEMP) rm $(TEMP) cp -p FPL.h ../include/libraries$(TARGET) : $(OBJS) $(CC) $(OBJS) -o $(TARGET).c.o: $(CC) $(CFLAGS) -c $<# This compiling is using -DSFPL to make the MALLOC() macro not to use the# global `mem' variable!SFPL: caller.c FPL.h script.h Makefile $(CC) $(CFLAGS) -DSFPL -o SFPL caller.c -L. -lfpl$(OBJS): script.h FPL.h Makefilescript.o:script.cnumexpr.o:numexpr.ccaller.o:caller.cstatement.o:statement.chash.o:hash.cmemory.o:memory.c memory.hfrontend.o:frontend.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -