4 ifeq "$(origin CC)" "default"
8 PROGRAMS = as-dcpu16 vm-dcpu16
9 SOURCES = common.c dcpu16.c as-dcpu16.c vm-dcpu16.c
11 CFLAGS = -g -Wall -Wextra -pedantic -std=c99
21 $(CC) $(CFLAGS) -MM $^ >> ./.depend
26 vm-dcpu16: vm-dcpu16.o dcpu16.o common.o
28 as-dcpu16: as-dcpu16.o common.o
31 @rm -rf $(PROGRAMS) *.o *.dSYM .depend