d085aae85f34e01b5cc43295569bfc2439c51bb0
[pintos-anon] / grading / userprog / Makefile
1 SRCDIR = ../../src
2
3 SINGLETONS = create-normal create-empty create-null create-invalid create-long 
4
5 define SINGLETON_PROG
6 PROGS += $(1)
7 $(1)_SRC = $(1).c
8 endef
9
10 $(foreach prog,$(SINGLETONS),$(eval $(call SINGLETON_PROG,$(prog))))
11
12 include $(SRCDIR)/Makefile.userprog