Created
September 15, 2011 21:22
-
-
Save irr/1220513 to your computer and use it in GitHub Desktop.
makefile for newLISP v.10.x.x on LINUX with readline and UTF-8 support (statically linked)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# makefile for newLISP v.10.x.x on LINUX with readline and UTF-8 support (statically linked) | |
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ | |
nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o | |
CFLAGS = -Wl,static -static-libgcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX | |
CC = gcc | |
default: $(OBJS) | |
$(CC) -static $(OBJS) -m32 -g -lm -ldl -lreadline -lncurses -ltinfo -o newlisp | |
strip newlisp | |
.c.o: | |
$(CC) $(CFLAGS) $< | |
$(OBJS): primes.h protos.h makefile_linux_utf8_static |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment