ikarus/bin/Makefile

53 lines
1.4 KiB
Makefile
Raw Normal View History

2006-11-23 19:38:26 -05:00
CFLAGS = -I/opt/local/include -Wall -DNDEBUG -O3 #-fomit-frame-pointer
2006-12-04 09:11:56 -05:00
#CFLAGS = -I/opt/local/include -Wall -g
2006-11-30 18:12:01 -05:00
LDFLAGS = -L/opt/local/lib -g -ldl -lgmp -rdynamic
2006-11-23 19:44:29 -05:00
CC = gcc
2006-11-23 19:38:26 -05:00
all: ikarus
ikarus: ikarus-collect.o ikarus-runtime.o ikarus-main.o ikarus-fasl.o \
2006-11-23 19:53:15 -05:00
ikarus-exec.o ikarus-print.o ikarus-enter.o ikarus-symbol-table.o \
2006-11-23 19:48:14 -05:00
ikarus-weak-pairs.o ikarus-numerics.o
2006-11-23 19:44:29 -05:00
$(CC) $(LDFLAGS) -o ikarus \
2006-11-23 19:38:26 -05:00
ikarus-main.o ikarus-runtime.o \
2006-11-23 19:53:15 -05:00
ikarus-fasl.o ikarus-exec.o ikarus-print.o ikarus-enter.o \
2006-11-23 19:48:14 -05:00
ikarus-symbol-table.o ikarus-collect.o ikarus-weak-pairs.o \
ikarus-numerics.o
2006-11-23 19:38:26 -05:00
ikarus-main.o: ikarus-main.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-main.c
2006-11-23 19:38:26 -05:00
2006-11-23 19:53:15 -05:00
ikarus-enter.o: ikarus-enter.s ikarus.h
$(CC) $(CFLAGS) -c ikarus-enter.s
2006-11-23 19:38:26 -05:00
ikarus-runtime.o: ikarus-runtime.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-runtime.c
2006-11-23 19:38:26 -05:00
ikarus-fasl.o: ikarus-fasl.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-fasl.c
2006-11-23 19:38:26 -05:00
ikarus-exec.o: ikarus-exec.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-exec.c
2006-11-23 19:38:26 -05:00
ikarus-print.o: ikarus-print.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-print.c
2006-11-23 19:38:26 -05:00
ikarus-collect.o: ikarus-collect.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-collect.c
2006-11-23 19:38:26 -05:00
2006-11-23 19:42:39 -05:00
ikarus-weak-pairs.o: ikarus-weak-pairs.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-weak-pairs.c
2006-11-23 19:38:26 -05:00
2006-11-23 19:42:39 -05:00
ikarus-symbol-table.o: ikarus-symbol-table.c ikarus.h
2006-11-23 19:44:29 -05:00
$(CC) $(CFLAGS) -c ikarus-symbol-table.c
2006-11-23 19:38:26 -05:00
2006-11-23 19:48:14 -05:00
ikarus-numerics.o: ikarus-numerics.c ikarus.h
$(CC) $(CFLAGS) -c ikarus-numerics.c
2006-11-23 19:38:26 -05:00
ikarus.h: ikarus-data.h
touch ikarus.h
2006-11-23 19:40:06 -05:00
clean:
2006-11-30 18:12:01 -05:00
rm -f *.o