Newer
Older
emul / Makefile
@takayun takayun on 28 May 2016 315 bytes fix: Makefile
OBJS=emul.o emul_inst_exec.o emul_inst_decipher.o emul_reg.o emul_mem.o emul_label.o emul_opt.o emul_repl.o emul_io_std.o 
PROGRAM=emul
CC=gcc
CCOPT=-lncurses

.SUFFIXES: .c .o

$(PROGRAM): $(OBJS)
	$(CC) -o $(PROGRAM) $^ $(CCOPT)

.c.o:
	$(CC) -c $<

.PHONY: clean
clean:
	rm -f $(OBJS) $(PROGRAM)