A vm designed to run functional languages. Unfinished and (currently) abandoned.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
secd/Makefile

26 lines
433 B

.POSIX:
.PHONY: all debug run clean
DEPS=src/main.o src/util.o src/gmp_setup.o
LIBS=-static -l:libgmp.a -l:libgc.a -l:libpthread.a
DBGFLAGS=-Og -g
DBGBIN=secd_debug
all: secd
secd: $(DEPS)
$(CC) $(CFLAGS) $(DEPS) $(LIBS) -o secd
$(DBGBIN): $(DEPS)
$(CC) $(LIBS) $(DBGFLAGS) -DENABLE_DBG_H -o secd_debug
debug: $(DBGBIN)
run: secd
@./secd
clean:
rm -f $(DEPS)
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(INCLUDE) $(CFLAGS) $< -o $@