Mercurial > repo
view src/ploki/MakeSkel @ 8123:9df4aeaac079
<moon_> ` med il 1 \'lol this is a test\' testcmd
author | HackBot |
---|---|
date | Wed, 25 May 2016 00:31:41 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
# vi: set ft=make: PREFIX = /usr/local INSTDIR = $(PREFIX)/bin CC = gcc #CC = cc #COPT = -DDEBUGGING -g COPT = -g -O2 #COPT = -xO4 -xalias_level=std -xbuiltin=%all -xdepend -xinline=%auto -xlibmil -xtarget=native #COPT = -O #COPT = LDOPT = #LDOPT = -s CPP = $(CC) -E #CPP = cpp DEPEND = $(CPP) -MM #DEPEND = $(CC) -xM1 CFLAGS = $(COPT) -W -Wall -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -std=gnu9x -pedantic -fstrict-aliasing -pipe #CFLAGS = $(COPT) -W -Wall -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -std=gnu99 -pedantic -fstrict-aliasing -pipe #CFLAGS = $(COPT) -Xc #CFLAGS = $(COPT) LDFLAGS = $(LDOPT) -lm ECHO = echo CAT = cat CP = cp RMF = rm -f TAR = tar CTAGS = ctags #CTAGS = ctags --langmap=c:.c.h ZIP = bzip2 ZIP_EXT = .bz2 BASENAME = basename PWD = pwd # # # # # OBJ = IO.o Str.o atechit.o compile.o deparse.o expr.o hang.o hash.o inc.o \ kork.o list.o main.o mars.o match.o op.o opt.o parse.o pp.o random.o \ re.o run.o strhash.o strutil.o sub.o text.o transmogrify.o val.o \ variable.o venus.o version.o xmalloc.o zz.o all: tags ploki tags: *.c *.h $(CTAGS) *.c *.h distclean: clean $(RMF) core examples/core a.out clean: $(RMF) *.o ploki realclean: clean $(RMF) *.depend Makefile remake: clean all ploki: $(OBJ) $(CC) -o ploki $(OBJ) $(LDFLAGS) install: ploki $(CP) ploki '$(INSTDIR)/' version.c: version.c.in VERSION $(CP) version.c.in version.c $(ECHO) '"'"`$(CAT) VERSION`"'";' >>version.c ########################################################################