gecko-dev/js/js2/Makefile

26 строки
423 B
Makefile
Исходник Обычный вид История

2000-02-19 13:03:07 +03:00
CC = gcc
CFLAGS = -g -ggdb -DDEBUG -DXP_UNIX -Wall -W -Wpointer-arith -Wbad-function-cast \
-Wstrict-prototypes -Wmissing-prototypes -Wno-non-virtual-dtor
2000-02-19 13:03:07 +03:00
objs = hash.o \
js2.o \
numerics.o \
parser.o \
utilities.o \
world.o
libs = -lstdc++ -lm
2000-02-19 13:03:07 +03:00
%.o : %.cpp
$(CC) -c $(CFLAGS) $< -o $@
js2: $(objs)
2000-02-21 22:48:45 +03:00
$(CC) -o $@ -ggdb $^ $(libs)
2000-02-19 13:03:07 +03:00
gctest: gc_allocator.o
$(CC) -o $@ -ggdb $^ gc.a $(libs)
2000-02-19 13:03:07 +03:00
clean:
rm -f $(objs)