first commit
This commit is contained in:
12
vm/makefile
Normal file
12
vm/makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
CFLAGS= -g -O0 -std=c99 -Wall -Wextra -I ../
|
||||
|
||||
SRCS=$(wildcard *.c)
|
||||
OBJS=$(SRCS:.c=.o)
|
||||
|
||||
run: $(OBJS)
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
|
||||
$(OBJS): vm.h ../isa.h
|
||||
|
||||
clean:
|
||||
rm -f run $(OBJS)
|
||||
Reference in New Issue
Block a user