+ifneq "" "$(findstring -DUCCOMPAT,$(CPPFLAGS))"
+ /opt/uClinux/m68k-pic-coff/bin/coff2flt -o gnokii -s $(STACKSIZE) gnokii.coff
+endif
+
+hello: hello.o cleanup.o mcount.o
+ $(CC) $(LDFLAGS) $(TARGET_ARCH) $^ -o $@
+
+hello.o: hello.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $^ -o $@
+
+cleanup.o: cleanup.c
+ $(CC) $(filter-out -pg,$(CFLAGS)) $(CPPFLAGS) $(TARGET_ARCH) -c $^ -o $@
+
+mcount.o: mcount.c
+ $(CC) $(filter-out -pg,$(CFLAGS)) $(CPPFLAGS) $(TARGET_ARCH) -c $^ -o $@