File: makefile_darwin

package info (click to toggle)
newlisp 10.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 6,248 kB
  • sloc: ansic: 33,280; lisp: 4,181; sh: 609; makefile: 215
file content (21 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# makefile for newLISP v. 10.x.x on Mac OSX with readline
#
# needs readline library and headerfiles installed (X tools)
#

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-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o

DEFAULT_CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX $(CFLAGS)

CC = cc

default: $(OBJS)
	$(CC) $(LDFLAGS) $(OBJS) -m32 -lm -lreadline -o newlisp

.c.o:
	$(CC) $(CPPFLAGS) $(DEFAULT_CFLAGS) $<

$(OBJS): primes.h protos.h makefile_darwin