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 f3324efabc61a143f42e044148b85957ad7dd30b..1a931a1c8f709724d37f398aabfaea17c30c6534 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,12
+1,17
@@
#!make
#
#!make
#
-PROGRAMS = dcpu16
+PROGRAMS =
as-dcpu16 vm-
dcpu16
CFLAGS = -g -Wall -Wextra -pedantic -std=c99
CFLAGS = -g -Wall -Wextra -pedantic -std=c99
-LDFLAGS =
+LDFLAGS = -lreadline
+
+HEADERS = dcpu16.h
all: $(PROGRAMS)
all: $(PROGRAMS)
+%.o: %.c $(HEADERS)
+
+vm-dcpu16: vm-dcpu16.o dcpu16.o
as-dcpu16: as-dcpu16.o
as-dcpu16: as-dcpu16.o