gecko-dev/js/js2/Makefile
2000-03-09 02:11:52 +00:00

26 lines
423 B
Makefile

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