aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 18f960d9b6e9555528a1cad9e961f0a2a5173b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
OBJS = main.o util.o vm.o memory.o stack.o
CFLAGS = -Wall -DNDEBUG

all: $(OBJS)
	cc $(CFLAGS) -o vm $(OBJS)

clean:
	rm *.o vm

util.o: util.h
vm.o: vm.h
memory.o: memory.h
stack.o: stack.h