Browse CVS Repository
Annotation of /shiki/shiki/Makefile
Parent Directory
| Revision Log
| Revision Graph
Revision 1.3 -
( hide annotations)
( download)
Fri Nov 24 13:48:18 2006 UTC
(17 years, 4 months ago)
by aloha
Branch: MAIN
Changes since 1.2: +3 -2 lines
to use genstub for create C function program of Scheme builtin function
| 1 |
aloha |
1.1 |
FILE = shiki.c |
| 2 |
|
|
BIN = shiki |
| 3 |
|
|
CC = gcc |
| 4 |
|
|
SHELL = sh |
| 5 |
aloha |
1.2 |
CFLAGS = -Wall -g $(GAUCHE_CFLAGS) $(GTK_CFLAGS) |
| 6 |
aloha |
1.1 |
GAUCHE_CFLAGS = `gauche-config -I` |
| 7 |
|
|
GTK_CFLAGS = `pkg-config gtk+-2.0 --cflags` |
| 8 |
|
|
LFLAGS = $(GAUCHE_LFLAGS) $(GTK_LFLAGS) |
| 9 |
|
|
GAUCHE_LFLAGS = `gauche-config -L` `gauche-config -l` |
| 10 |
|
|
GTK_LFLAGS = `pkg-config gtk+-2.0 --libs` |
| 11 |
|
|
|
| 12 |
|
|
$(BIN) : $(BIN).o |
| 13 |
|
|
$(CC) -o $(BIN) $(BIN).o $(LFLAGS) |
| 14 |
aloha |
1.3 |
$(BIN).o : $(FILE) xyzzylisp.c |
| 15 |
aloha |
1.1 |
$(SHELL) -c "gcc $(CFLAGS) -o $(BIN).o -c $(FILE)" |
| 16 |
aloha |
1.3 |
xyzzylisp.c : xyzzylisp.stub |
| 17 |
|
|
gosh genstub xyzzylisp.stub |
| 18 |
aloha |
1.1 |
clean : |
| 19 |
|
|
rm $(BIN) $(BIN).o |
|