CFLAGS = -MD -TC all: dpcpp-test.exe dpcpp-test.exe: dpcpp-test.obj xilink -out:dpcpp-test.exe $< dpcpp-test.obj: dpcpp-test.c dpcpp $(CFLAGS) -Fo$@ $< dpcpp-test.c: dpcpp-test.mak $(info Generating $@) $(file > $@,$(dpcpp-test_C)) define dpcpp-test_C // // Generated file. DO NOT EDIT! // #include #include int main (void) { char *p = malloc(1000); printf ("p: 0x%p\n", p); p ? free(p) : ((void)0); return (0); } endef