projects
/
dcpu16
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed instruction length issue
[dcpu16]
/
Makefile
diff --git
a/Makefile
b/Makefile
index ad94a65a6dcd3f1aadad04f7c551a78a69564b47..1a931a1c8f709724d37f398aabfaea17c30c6534 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,8
+5,12
@@
PROGRAMS = as-dcpu16 vm-dcpu16
CFLAGS = -g -Wall -Wextra -pedantic -std=c99
LDFLAGS = -lreadline
+HEADERS = dcpu16.h
+
all: $(PROGRAMS)
+%.o: %.c $(HEADERS)
+
vm-dcpu16: vm-dcpu16.o dcpu16.o
as-dcpu16: as-dcpu16.o